public abstract class AbstractTaskOptionWFT<C extends ApplicationContext> extends AbstractWFT<C>
CheckOption objects.childTaskRef, isTestMode, monitorController, resultRef, stateFlag| Constructor and Description |
|---|
AbstractTaskOptionWFT(AbstractWorkflow<C> workflow) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterTask(WorkflowTask previousTask)
Overridden to popup a
TaskOptionDialog for choosing the next step to happen in the
workflow. |
void |
fillAvailableOptions(java.util.List<CheckOption> optionList,
WorkflowTask previousTask)
Fills up the list of options of which the user has got to choose one.
|
CheckOption |
getDefaultOption()
This option is preselected in the option dialog, it must be one of the options given by
fillAvailableOptions(List, WorkflowTask) |
abstract CheckOption |
getSelectedOption(java.util.List<CheckOption> validOptions)
Returns the selected options which must be one of the given options or null.
|
boolean |
isDeciderTask()
Tells, whether this is a decider-WFT.
|
executeAsync, executeAsyncImpl, exitTask, getTaskIndex, getWorkflow, getWorkingDir, isTaskRepeating, setName, setTaskIndex, updateTaskNameaddMonitor, addTaskListener, awaitEventsDone, doneChildFinished, doneChildStarted, doneTaskCancelled, doneTaskFailed, doneTaskFinished, doneTaskProceeded, doneTaskStarted, doneTaskStateChanged, doneTaskSucceeded, getActionCancel, getRenderColor, getRenderIcon, getRenderText, getSwingTaskMonitor, isRegisterInTaskList, removeTaskListener, showError, showError, showError, showInfo, showInfo, showWarning, showWarningawaitFinished, awaitFinished, awaitStarted, cancel, createTaskId, deregisterTask, doOnFinish, doOnStart, doOnSuccess, executeChildTask, executeChildTask, getCurrentFuture, getMaxChildTasks, getPriority, getProcessingDuration, getStartTime, getStopWatch, handleFinish, handleStart, handleSuccess, isRegisterForCancel, isRunning, notifyProceeded, registerTask, releaseStart, run, setCurrentFuture, setMaxChildTasks, setPriority, setRegisterForCancel, setReleaseTimeout, submit, submit, submitInternal, toString, wasSucceededcheckCancelled, checkForErrorAndRethrow, clearMonitors, createRunStateFlag, doOnCancel, doOnFailure, execute, executeSubTask, getError, getMaxProgressSteps, getMonitorCount, getMonitors, getName, getProgressStepCount, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, hasError, hasMonitor, isCancellable, registerTaskStateChange, removeMonitor, resetProgress, setCancellable, setLogLevel, setMaxProgressSteps, setMonitor, setName, setResult, setRunStateFlag, setTaskId, setType, shouldFireMonitor, sleepChecked, wasCancelledgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitawaitFinished, awaitFinished, awaitStarted, executeChildTask, executeChildTask, getError, getProcessingDuration, hasError, isRegisterForCancel, isRunning, releaseStart, setName, setReleaseTimeout, submit, submitcheckCancelled, checkForErrorAndRethrow, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, setResult, setRunStateFlag, sleepCheckedgetApplicationContextexecuteaddMonitor, clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitorgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelcancelwasCancelledgetTaskIdtoDumpString, toDumpString, toString, toStringpublic AbstractTaskOptionWFT(AbstractWorkflow<C> workflow)
public final void enterTask(WorkflowTask previousTask) throws java.lang.Exception
TaskOptionDialog for choosing the next step to happen in the
workflow.enterTask in interface WorkflowTask<C extends ApplicationContext>enterTask in class AbstractWFT<C extends ApplicationContext>java.lang.Exceptionpublic abstract CheckOption getSelectedOption(java.util.List<CheckOption> validOptions)
public void fillAvailableOptions(java.util.List<CheckOption> optionList, WorkflowTask previousTask)
StandardTaskOption constants are added to the optionList.optionList - the list to be filled with TaskOptionspreviousTask - the previous WorkflowTask (will be null, if the first task is being run)public CheckOption getDefaultOption()
fillAvailableOptions(List, WorkflowTask)public final boolean isDeciderTask()
WorkflowTaskCheckOptions.isDeciderTask in interface WorkflowTask<C extends ApplicationContext>isDeciderTask in class AbstractWFT<C extends ApplicationContext>Copyright © 2014 EsprIT-Systems. All Rights Reserved.