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, submit
checkCancelled, checkForErrorAndRethrow, executeAsync, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, setName, setResult, setRunStateFlag, sleepChecked
getApplicationContext
execute
addMonitor, clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitor
getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
cancel
wasCancelled
getTaskId
toDumpString, toDumpString, toString, toString
<W extends AbstractWorkflow<C>> W getWorkflow()
void enterTask(WorkflowTask<C> previousTask) throws java.lang.Exception
java.lang.Exception
void executeAsyncImpl() throws java.lang.Exception
java.lang.Exception
void exitTask() throws java.lang.Exception
java.lang.Exception
boolean isTaskRepeating()
void setTaskIndex(int taskIndex, WorkflowTask<C> previousTask)
int getTaskIndex()
boolean isDeciderTask()
CheckOption
s.java.io.File getWorkingDir()
void updateTaskName()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.