Package Task

Interface Summary
NetworkTaskHandlerIF<ReturnValueType> NetworkTaskHandlerIF is an extension of the lifecycle events that can be passed to a task handler that deals with responding to network-enabled tasks.
SimpleTaskHandlerIF<ReturnValueType> TaskHandlerIF is an interface that encapsulates the various lifecyle stages that a task will go through.
TaskExecutorIF<ReturnValueType> TaskExecutorIF is a simple interface that encapsulates the method needed by a functor which executes in the background - not on the EDT thread.
 

Class Summary
AbstractTask AbstractTask is a super class that encapsulates some common functionality between various types of tasks: SimpleTask NetworkTask RecurringNetworkTask
NetworkTask<ReturnValueType> SwingNetworkTask is a SwingWorker that's optimzed for calling services in the platform and handling mundane error processing, etc.
NetworkTaskHandler<ReturnValueType> NetworkTaskHandler extends SimpleTaskHandler, and adds support for NetworkTaskHandler.notOnline(AbstractTask).
RecurringNetworkTask<ReturnValueType> This task is a subclass of NetworkTask.
SimpleTask<ReturnValueType> Task is a SwingWorker that's optimzed for calling services in the platform and handling mundane error processing, etc.
SimpleTaskHandler<ReturnValueType> TaskHandler is a convenience class that you can extend in order to override only the methods that you want to override for your task handler.
StateChanger StateChanger is a functor that orchestrates the business logic required to have state changes take place in the Task API.
TaskException TaskException is thrown when at attempt is made to create & execute more than one underlying SwingWorker thread.
TaskExecutorAdapter<ReturnValueType> TaskExecutorAdapter is a helper class, that has empty implementations of all the methods in TaskExecutorIF.
 

Enum Summary
AbstractTask.PropertyNames enumeration that holds list of properties that you can attach property change listeners for, right now there's only one, but you can add more in the future.
AbstractTask.State List of all the possible states that any kind of Task (Network, non network, etc) may have.
AbstractTask.Type identifies the type of the task
AutoShutdownSignals identifies the AutoShutdown policy for a task.
TaskException.Type enumeration of all the different types of TaskException that can be thrown
 



Copyright © 2011. All Rights Reserved.