public class FileNameInputWFT<C extends ApplicationContext> extends AbstractWFT<C>
OutputFileChooserDialog
for choosing an output file. Note that the
subsequent WFT needs to fetch the chosen output-file as well as the override-flag from this
task.OutputFileChooserDialog
childTaskRef, isTestMode, monitorController, resultRef, stateFlag
Constructor and Description |
---|
FileNameInputWFT(AbstractWorkflow<C> workflow) |
FileNameInputWFT(AbstractWorkflow<C> workflow,
NlsKey nameKey,
java.lang.String defaultFileName,
boolean isOverride) |
FileNameInputWFT(AbstractWorkflow<C> workflow,
java.lang.String defaultFileName) |
FileNameInputWFT(AbstractWorkflow<C> workflow,
java.lang.String defaultFileName,
boolean isOverride) |
Modifier and Type | Method and Description |
---|---|
protected de.esprit.appsuite.workflow.wft.FileNameInputDialog |
createFileChooserDialog() |
void |
enterTask(WorkflowTask previousTask)
Runs in the ET before the task starts to run async
|
java.lang.String |
getDefaultFileName() |
java.lang.String |
getOuptutFileName() |
NlsKey |
getTaskNameKey() |
boolean |
isDeciderTask()
Tells, whether this is a decider-WFT.
|
boolean |
isOverrideExisting() |
void |
setDefaultFile(java.lang.String defaultFile) |
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 FileNameInputWFT(AbstractWorkflow<C> workflow)
public FileNameInputWFT(AbstractWorkflow<C> workflow, java.lang.String defaultFileName)
public FileNameInputWFT(AbstractWorkflow<C> workflow, java.lang.String defaultFileName, boolean isOverride)
public FileNameInputWFT(AbstractWorkflow<C> workflow, NlsKey nameKey, java.lang.String defaultFileName, boolean isOverride)
public void enterTask(WorkflowTask previousTask) throws java.lang.Exception
WorkflowTask
enterTask
in interface WorkflowTask<C extends ApplicationContext>
enterTask
in class AbstractWFT<C extends ApplicationContext>
java.lang.Exception
public java.lang.String getOuptutFileName()
public boolean isOverrideExisting()
public java.lang.String getDefaultFileName()
public void setDefaultFile(java.lang.String defaultFile)
public NlsKey getTaskNameKey()
public final boolean isDeciderTask()
WorkflowTask
CheckOption
s.isDeciderTask
in interface WorkflowTask<C extends ApplicationContext>
isDeciderTask
in class AbstractWFT<C extends ApplicationContext>
protected de.esprit.appsuite.workflow.wft.FileNameInputDialog createFileChooserDialog()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.