Package com.openindex.openestate.tool
Class ImmoToolUpdateTask
- java.lang.Object
-
- javax.swing.SwingWorker<T,V>
-
- com.openindex.openestate.tool.ImmoToolTask<ImmoToolUpdate,Void>
-
- com.openindex.openestate.tool.ImmoToolUpdateTask
-
- All Implemented Interfaces:
PropertyChangeListener
,Runnable
,Future<ImmoToolUpdate>
,RunnableFuture<ImmoToolUpdate>
,EventListener
public class ImmoToolUpdateTask extends ImmoToolTask<ImmoToolUpdate,Void>
ImmoToolUpdateTask.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.ImmoToolTask
ImmoToolTask.Adapter, ImmoToolTask.Callback, ImmoToolTask.Listener
-
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValue
-
-
Constructor Summary
Constructors Constructor Description ImmoToolUpdateTask(boolean feedbackAlways)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImmoToolUpdate
doInBackground()
protected void
failed(Throwable t)
protected void
succeeded(ImmoToolUpdate result)
static boolean
wasExecutedToday()
-
Methods inherited from class com.openindex.openestate.tool.ImmoToolTask
addListener, cancelled, checkCancelled, createCallback, done, executeAndWait, executeAndWait, finished, getDescription, getId, getMessage, getParentWindow, getTaskDialog, getTitle, isCancelException, isPending, isStarted, process, propertyChange, removeListener, setDescription, setMessage, setParentWindow, setProgress, setProgress, setProgress, setProgress, setTaskDialog, setTitle
-
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
-
-
-
-
Method Detail
-
doInBackground
protected ImmoToolUpdate doInBackground() throws Exception
- Specified by:
doInBackground
in classImmoToolTask<ImmoToolUpdate,Void>
- Throws:
Exception
-
failed
protected void failed(Throwable t)
- Overrides:
failed
in classImmoToolTask<ImmoToolUpdate,Void>
-
succeeded
protected void succeeded(ImmoToolUpdate result)
- Overrides:
succeeded
in classImmoToolTask<ImmoToolUpdate,Void>
-
wasExecutedToday
public static boolean wasExecutedToday()
-
-