public abstract class AbstractDownloadTask<C extends ClientContext> extends AbstractClientTask<C>
childTaskRef, isTestMode, monitorController, resultRef, stateFlag| Constructor and Description |
|---|
AbstractDownloadTask(C ctx,
DownloadStream stream) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOnFinish()
Is called in ANY CASE when the task has finished.
|
protected void |
doOnStart()
Is called when the task actually has started.
|
protected abstract FileDataType |
getDataType() |
java.io.File |
getServerFile() |
protected DownloadStream |
getStream() |
executeSubTask, getClientContext, getSessionIdawaitFinished, awaitFinished, awaitStarted, cancel, createTaskId, deregisterTask, doOnSuccess, executeAsync, 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, wasSucceededaddMonitor, 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, 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, sleepCheckedgetApplicationContextexecuteaddMonitor, clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitorgetLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelwasCancelledgetTaskIdtoDumpString, toDumpString, toStringpublic AbstractDownloadTask(C ctx, DownloadStream stream)
public java.io.File getServerFile()
protected DownloadStream getStream()
protected abstract FileDataType getDataType()
protected void doOnStart()
throws java.lang.Exception
AbstractAsyncTaskdoOnStart in class AbstractAsyncTask<C extends ClientContext>java.lang.Exceptionprotected void doOnFinish()
AbstractAsyncTaskdoOnFinish in class AbstractAsyncTask<C extends ClientContext>Copyright © 2014 EsprIT-Systems. All Rights Reserved.