public class AsciiParserTask<C extends ApplicationContext> extends AbstractSwingTask<C>
AsciiParser asynchronously.childTaskRef, isTestMode, monitorController, resultRef, stateFlag| Modifier | Constructor and Description |
|---|---|
|
AsciiParserTask(C ctx) |
|
AsciiParserTask(C ctx,
AbstractAsciiParser parser) |
|
AsciiParserTask(C ctx,
LogChannel logCh,
AbstractAsciiParser parser) |
protected |
AsciiParserTask(C ctx,
LogChannel logCh,
java.lang.String name,
AbstractAsciiParser parser) |
|
AsciiParserTask(C ctx,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync()
Must be overridden to perform the async part.
|
AbstractAsciiParser |
getParser() |
void |
setParser(AbstractAsciiParser parser) |
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, 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, 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, waitcheckCancelled, checkForErrorAndRethrow, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, setCancellable, setName, setResult, setRunStateFlag, sleepCheckedgetApplicationContextexecuteclearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitorgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelwasCancelledgetTaskIdtoDumpString, toDumpString, toStringpublic AsciiParserTask(C ctx)
public AsciiParserTask(C ctx, java.lang.String name)
public AsciiParserTask(C ctx, AbstractAsciiParser parser)
public AsciiParserTask(C ctx, LogChannel logCh, AbstractAsciiParser parser)
protected AsciiParserTask(C ctx, LogChannel logCh, java.lang.String name, AbstractAsciiParser parser)
public void setParser(AbstractAsciiParser parser)
public AbstractAsciiParser getParser()
public void executeAsync()
throws java.lang.Exception
AbstractAsyncTaskAbstractAsyncTask.notifyProceeded(Object, int, int, String) in order to notify
about task progress. Note: the running task should periodically call
AbstractAsyncExecutable.checkCancelled() in order to detect cancellation.executeAsync in interface AsyncExecutable<C extends ApplicationContext>executeAsync in class AbstractAsyncTask<C extends ApplicationContext>java.lang.Exceptionfor synchronous executionCopyright © 2014 EsprIT-Systems. All Rights Reserved.