cz.vity.freerapid.core.tasks
Class CheckPluginUpdateTask

java.lang.Object
  extended by org.jdesktop.swingworker.SwingWorker<T,V>
      extended by org.jdesktop.application.Task<T,V>
          extended by cz.vity.freerapid.core.tasks.CoreTask<List<Plugin>,Void>
              extended by cz.vity.freerapid.core.tasks.CheckPluginUpdateTask
All Implemented Interfaces:
Runnable, Future<List<Plugin>>

public class CheckPluginUpdateTask
extends CoreTask<List<Plugin>,Void>

Author:
Ladislav Vitasek

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.CoreTask
inputBlocker
 
Constructor Summary
CheckPluginUpdateTask(ManagerDirector director, org.jdesktop.application.ApplicationContext context, boolean quiet)
           
 
Method Summary
protected  List<Plugin> doInBackground()
           
protected  void failed(Throwable cause)
           
protected  void succeeded(List<Plugin> result)
           
 
Methods inherited from class cz.vity.freerapid.core.tasks.CoreTask
getMainFrame, getTaskResourceMap, handleRuntimeException, postMessage, setTaskToForeground
 
Methods inherited from class org.jdesktop.application.Task
addTaskListener, cancelled, done, finished, getApplication, getContext, getDescription, getExecutionDuration, getInputBlocker, getMessage, getMessageDuration, getResourceMap, getTaskListeners, getTaskService, getTitle, getUserCanCancel, interrupted, 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

CheckPluginUpdateTask

public CheckPluginUpdateTask(ManagerDirector director,
                             org.jdesktop.application.ApplicationContext context,
                             boolean quiet)
Method Detail

doInBackground

protected List<Plugin> doInBackground()
                               throws Exception
Specified by:
doInBackground in class org.jdesktop.swingworker.SwingWorker<List<Plugin>,Void>
Throws:
Exception

failed

protected void failed(Throwable cause)
Overrides:
failed in class CoreTask<List<Plugin>,Void>

succeeded

protected void succeeded(List<Plugin> result)
Overrides:
succeeded in class org.jdesktop.application.Task<List<Plugin>,Void>