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, updateTaskName
addMonitor, addTaskListener, awaitEventsDone, doneChildFinished, doneChildStarted, doneTaskCancelled, doneTaskFailed, doneTaskFinished, doneTaskProceeded, doneTaskStarted, doneTaskStateChanged, doneTaskSucceeded, getActionCancel, getRenderColor, getRenderIcon, getRenderText, getSwingTaskMonitor, isRegisterInTaskList, removeTaskListener, showError, showError, showError, showInfo, showInfo, showWarning, showWarning
awaitFinished, 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, wasSucceeded
checkCancelled, 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, wasCancelled
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
awaitFinished, awaitFinished, awaitStarted, executeChildTask, executeChildTask, getError, getProcessingDuration, hasError, isRegisterForCancel, isRunning, releaseStart, setName, setReleaseTimeout, submit, submit
checkCancelled, checkForErrorAndRethrow, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, 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
public 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.Exception
public 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()
WorkflowTask
CheckOption
s.isDeciderTask
in interface WorkflowTask<C extends ApplicationContext>
isDeciderTask
in class AbstractWFT<C extends ApplicationContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.