V - the return type valuepublic abstract class ContextualTask<V> extends Object
| Constructor and Description |
|---|
ContextualTask() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract V |
execute(SessionContext context)
Implementor must provide the task logic here.
|
V |
executeWith(ChromatticLifeCycle lifeCycle)
Executes a task within a context from the specified life cycle.
|
public final V executeWith(ChromatticLifeCycle lifeCycle)
execute(SessionContext) method.lifeCycle - the life cycleprotected abstract V execute(SessionContext context)
context - the contextCopyright © 2017 JBoss by Red Hat. All Rights Reserved.