|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jdesktop.swingworker.SwingWorker<T,V> org.jdesktop.application.Task<T,V> cz.vity.freerapid.core.tasks.CoreTask<Void,Long> cz.vity.freerapid.core.tasks.DownloadTask cz.vity.freerapid.core.tasks.DownloadNewPluginsTask
public class DownloadNewPluginsTask
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jdesktop.application.Task |
---|
org.jdesktop.application.Task.BlockingScope, org.jdesktop.application.Task.InputBlocker |
Nested classes/interfaces inherited from class org.jdesktop.swingworker.SwingWorker |
---|
org.jdesktop.swingworker.SwingWorker.StateValue |
Field Summary |
---|
Fields inherited from class cz.vity.freerapid.core.tasks.DownloadTask |
---|
client, downloadFile, outputFile, service, storeFile |
Fields inherited from class cz.vity.freerapid.core.tasks.CoreTask |
---|
inputBlocker |
Constructor Summary | |
---|---|
DownloadNewPluginsTask(ManagerDirector director,
org.jdesktop.application.ApplicationContext context,
List<DownloadFile> fileList)
|
Method Summary | |
---|---|
protected void |
cancelled()
|
protected Void |
doInBackground()
|
protected void |
failed(Throwable cause)
|
protected int |
checkExists()
|
protected void |
succeeded(Void result)
|
protected boolean |
useTemporaryFiles()
|
Methods inherited from class cz.vity.freerapid.core.tasks.DownloadTask |
---|
error, getClient, getDownloadFile, getFileOutputStream, getServiceError, getYouHaveToSleepSecondsTime, init, initBackground, initDownloadThread, interrupted, isTerminated, saveToFile, setAverageSpeed, setDownloaded, setDownloadFile, setFileErrorMessage, setSleep, setSpeed, sleep, updateFileState |
Methods inherited from class cz.vity.freerapid.core.tasks.CoreTask |
---|
getMainFrame, getTaskResourceMap, handleRuntimeException, postMessage, setTaskToForeground |
Methods inherited from class org.jdesktop.application.Task |
---|
addTaskListener, done, finished, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, isPending, isProgressPropertyValid, isStarted, message, process, removeTaskListener, resourceName, setDescription, setInputBlocker, setMessage, setProgress, setProgress, setProgress, setTitle, setUserCanCancel |
Methods inherited from class org.jdesktop.swingworker.SwingWorker |
---|
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DownloadNewPluginsTask(ManagerDirector director, org.jdesktop.application.ApplicationContext context, List<DownloadFile> fileList)
Method Detail |
---|
protected Void doInBackground() throws Exception
doInBackground
in class DownloadTask
Exception
protected void cancelled()
cancelled
in class DownloadTask
protected int checkExists() throws InvocationTargetException, InterruptedException
checkExists
in class DownloadTask
InvocationTargetException
InterruptedException
protected boolean useTemporaryFiles()
useTemporaryFiles
in class DownloadTask
protected void failed(Throwable cause)
failed
in class DownloadTask
protected void succeeded(Void result)
succeeded
in class DownloadTask
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |