|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.task.Executor
com.waveset.workflow.WorkflowExecutor
A task Executor implementation that wraps the workflow engine so that it may be run as a background task within the Lighthouse server. The engine itself is found in WorkflowEngine.
Field Summary | |
static java.lang.String |
code_id
|
static java.lang.String |
RES_WORK_ITEMS
The name of a result item in the task result that holds information about all outstanding work items. |
Fields inherited from class com.waveset.task.Executor |
_monitor, _suspendRequested, _terminateRequested, trace, XML_HEADER |
Constructor Summary | |
WorkflowExecutor()
Build a workflow executor. |
Method Summary | |
void |
execute(TaskContext context,
TaskInstance taskInstance)
The main task entry point. |
WorkflowEngine |
getEngine()
|
boolean |
isTerminateRequested()
Test the terminate request flag. |
void |
setTerminateRequested(boolean term)
Set the terminate request flag. |
Methods inherited from class com.waveset.task.Executor |
addExtendedResult, delete, doRealWork, getExtendedResult, getPool, isSuspendRequested, println, processEvent, setPool, setSuspendRequested |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
public static final java.lang.String RES_WORK_ITEMS
id work item id owner administrator/owner of the item itemType type of the work itemThis was introduced primarily to support synchronous workflow execution, where we could tell immediately after checking in a work item, whether there was another item for the same user.
Constructor Detail |
public WorkflowExecutor()
Method Detail |
public WorkflowEngine getEngine()
public void execute(TaskContext context, TaskInstance taskInstance)
execute
in class Executor
Executor.doRealWork(TaskContext, TaskInstance)
public boolean isTerminateRequested()
isTerminateRequested
in class Executor
public void setTerminateRequested(boolean term)
setTerminateRequested
in class Executor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |