public interface WorkflowTask<C extends ApplicationContext> extends AsyncTask<C>
| Modifier and Type | Method and Description |
|---|---|
void |
enterTask(WorkflowTask<C> previousTask)
Runs in the ET before the task starts to run async
|
void |
executeAsyncImpl()
This method is executed asynchronously
|
void |
exitTask()
Runs in the ET after the task has run async
|
int |
getTaskIndex()
Returns the index of this task within the controlling workflow
|
<W extends AbstractWorkflow<C>> |
getWorkflow()
Returns the workflow this task obtains to.
|
java.io.File |
getWorkingDir()
Returns the working-dir of the executing task.
|
boolean |
isDeciderTask()
Tells, whether this is a decider-WFT.
|
boolean |
isTaskRepeating()
Is called after the task has been executed.
|
void |
setTaskIndex(int taskIndex,
WorkflowTask<C> previousTask)
Sets the previous task from which this task may have to overtake results
|
void |
updateTaskName()
Is called when a change in the task-naming may be required.
|
awaitFinished, awaitFinished, awaitStarted, executeChildTask, executeChildTask, getError, getProcessingDuration, hasError, isRegisterForCancel, isRunning, releaseStart, setName, setReleaseTimeout, submit, submitcheckCancelled, checkForErrorAndRethrow, executeAsync, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, setName, setResult, setRunStateFlag, sleepCheckedgetApplicationContextexecuteaddMonitor, clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitorgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelcancelwasCancelledgetTaskIdtoDumpString, toDumpString, toString, toString<W extends AbstractWorkflow<C>> W getWorkflow()
void enterTask(WorkflowTask<C> previousTask) throws java.lang.Exception
java.lang.Exceptionvoid executeAsyncImpl()
throws java.lang.Exception
java.lang.Exceptionvoid exitTask()
throws java.lang.Exception
java.lang.Exceptionboolean isTaskRepeating()
void setTaskIndex(int taskIndex,
WorkflowTask<C> previousTask)
int getTaskIndex()
boolean isDeciderTask()
CheckOptions.java.io.File getWorkingDir()
void updateTaskName()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.