public class ArchiveExtractTask<C extends ApplicationContext> extends AbstractAsyncTask<C>
childTaskRef, isTestMode, monitorController, resultRef, stateFlag| Constructor and Description |
|---|
ArchiveExtractTask(C ctx,
java.io.File targetDir,
java.io.File archiveFile) |
ArchiveExtractTask(C ctx,
java.io.File targetDir,
java.io.File archiveFile,
ArchiveEntryFilter filter) |
ArchiveExtractTask(C ctx,
LogChannel logCh,
java.io.File targetDir,
java.io.File archiveFile,
ArchiveEntryFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
displayEntry(java.lang.String entryInfo) |
protected void |
displayHeader(java.lang.String headerInfo) |
void |
executeAsync()
Must be overridden to perform the async part.
|
protected void |
processEntry(ArchiveEntry entry) |
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, 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 ArchiveExtractTask(C ctx, java.io.File targetDir, java.io.File archiveFile)
public ArchiveExtractTask(C ctx, java.io.File targetDir, java.io.File archiveFile, ArchiveEntryFilter filter)
public ArchiveExtractTask(C ctx, LogChannel logCh, java.io.File targetDir, java.io.File archiveFile, ArchiveEntryFilter filter)
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 executionprotected void processEntry(ArchiveEntry entry)
protected void displayEntry(java.lang.String entryInfo)
protected void displayHeader(java.lang.String headerInfo)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.