|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AbstractTask | |
|---|---|
| Task | |
| Task.Manager | |
| Uses of AbstractTask in Task |
|---|
| Subclasses of AbstractTask in Task | |
|---|---|
class |
NetworkTask<ReturnValueType>
SwingNetworkTask is a SwingWorker that's optimzed for calling services in the platform and handling mundane error processing, etc. |
class |
RecurringNetworkTask<ReturnValueType>
This task is a subclass of NetworkTask. |
class |
SimpleTask<ReturnValueType>
Task is a SwingWorker that's optimzed for calling services in the platform and handling mundane error processing, etc. |
| Methods in Task that return AbstractTask | |
|---|---|
AbstractTask |
TaskException.getTask()
|
| Methods in Task with parameters of type AbstractTask | ||
|---|---|---|
void |
SimpleTaskHandlerIF.beforeStart(AbstractTask task)
this method is called before the background thread is started. good place to do prep work if any needs to be done. |
|
void |
SimpleTaskHandler.beforeStart(AbstractTask task)
this method is called before the background thread is started. good place to do prep work if any needs to be done. |
|
void |
SimpleTaskHandlerIF.cancelled(long time,
AbstractTask task)
This is called after started(). it signifies that the task was cancelled by cancel() being called on it's SwingWorker thread. |
|
void |
SimpleTaskHandler.cancelled(long time,
AbstractTask task)
This is called after started(). it signifies that the task was cancelled by cancel() being called on it's SwingWorker thread. |
|
void |
SimpleTaskHandlerIF.error(java.lang.Throwable e,
long time,
AbstractTask task)
this is called after stopped(). it signifies failure of task execution. |
|
void |
SimpleTaskHandler.error(java.lang.Throwable e,
long time,
AbstractTask task)
this is called after stopped(). it signifies failure of task execution. |
|
static TaskException |
TaskException.executionAttemptAfterShutdown(java.lang.String msg,
AbstractTask task)
|
|
void |
SimpleTaskHandlerIF.interrupted(java.lang.Throwable e,
AbstractTask task)
this is called after the task has been interrupted. ok or error may not be called after this. |
|
void |
SimpleTaskHandler.interrupted(java.lang.Throwable e,
AbstractTask task)
this is called after the task has been interrupted. ok or error may not be called after this. |
|
static TaskException |
TaskException.newConcurrentSwingWorkerCreationAttempt(java.lang.String msg,
AbstractTask task)
|
|
void |
NetworkTaskHandlerIF.notOnline(AbstractTask task)
this is called if the method is trying to run in the background and the container is not online. |
|
void |
NetworkTaskHandler.notOnline(AbstractTask task)
this is called if the method is trying to run in the background and the container is not online. |
|
void |
SimpleTaskHandlerIF.ok(ReturnValueType value,
long time,
AbstractTask task)
this is called after stopped(). it signifies successful task completion. |
|
void |
SimpleTaskHandler.ok(ReturnValueType value,
long time,
AbstractTask task)
this is called after stopped(). it signifies successful task completion. |
|
void |
SimpleTaskHandlerIF.shutdownCalled(AbstractTask task)
This method is called on the task handler when shutdown() is called. |
|
void |
SimpleTaskHandler.shutdownCalled(AbstractTask task)
This method is called on the task handler when shutdown() is called. |
|
static void |
StateChanger.signalBeforeStart(SimpleTaskHandlerIF taskHandler,
AbstractTask task)
|
|
static void |
StateChanger.signalCancelled(AbstractTask task,
SimpleTaskHandlerIF taskHandler,
TaskExecutorIF exec,
long time)
|
|
static void |
StateChanger.signalErr(AbstractTask task,
SimpleTaskHandlerIF taskHandler,
TaskExecutorIF exec,
java.util.concurrent.ExecutionException ex,
long time)
|
|
static void |
StateChanger.signalInterrupted(AbstractTask task,
SimpleTaskHandlerIF taskHandler,
TaskExecutorIF exec,
java.lang.InterruptedException ex,
long time)
|
|
static void |
StateChanger.signalNotOnline(AbstractTask task,
NetworkTaskHandlerIF taskHandler,
TaskExecutorIF exec)
|
|
static
|
StateChanger.signalOK(AbstractTask task,
SimpleTaskHandlerIF<T> taskHandler,
TaskExecutorIF<T> exec,
T retVal,
long time)
|
|
static void |
StateChanger.signalStart(AbstractTask task,
SimpleTaskHandlerIF taskHandler,
TaskExecutorIF exec)
|
|
static void |
StateChanger.signalStopped(AbstractTask task,
SimpleTaskHandlerIF taskHandler,
long time)
|
|
void |
SimpleTaskHandlerIF.started(AbstractTask task)
this is called after the task is started, it's not running in the background at this point, but is just about to. all the states have been setup (in the task) and updates sent out. |
|
void |
SimpleTaskHandler.started(AbstractTask task)
this is called after the task is started, it's not running in the background at this point, but is just about to. all the states have been setup (in the task) and updates sent out. |
|
void |
SimpleTaskHandlerIF.stopped(long time,
AbstractTask task)
this is called after the task has ended normally (not interrupted). ok or error may be called after this. |
|
void |
SimpleTaskHandler.stopped(long time,
AbstractTask task)
this is called after the task has ended normally (not interrupted). ok or error may be called after this. |
|
| Uses of AbstractTask in Task.Manager |
|---|
| Methods in Task.Manager that return AbstractTask | |
|---|---|
AbstractTask |
TaskListChangeEvent.getTask()
|
| Methods in Task.Manager that return types with arguments of type AbstractTask | |
|---|---|
java.util.List<AbstractTask> |
TaskManager.getCopyOfList()
returns a copy of the task list |
| Methods in Task.Manager with parameters of type AbstractTask | |
|---|---|
void |
TaskManager.registerTask(AbstractTask task)
Registers the given task with the container. |
void |
TaskManager.unregisterTask(AbstractTask task)
Unregisters the task, whether it's a daemon task or not. |
| Constructors in Task.Manager with parameters of type AbstractTask | |
|---|---|
TaskListChangeEvent(TaskListChangeEvent.Type type,
AbstractTask task)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||