Class AbstractTask

All Implemented Interfaces:
PropertyBindable, PropertyConstrainable, Task
Direct Known Subclasses:
AbstractOperation, AbstractSequenceTask

public abstract class AbstractTask extends BoundPropertyObject implements Task
Abstract implementation of a task performed in a sequence.
Author:
Garret Wilson
  • Constructor Details

    • AbstractTask

      public AbstractTask()
  • Method Details

    • getEventListenerManager

      protected EventListenerManager getEventListenerManager()
      Returns:
      The object managing event listeners.
    • getState

      public TaskState getState()
      Specified by:
      getState in interface Task
      Returns:
      The current state of the task.
    • setState

      public void setState(TaskState newState)
      Sets the current state of the task. This is a bound property.
      Parameters:
      newState - The new state of the task.
      Throws:
      NullPointerException - if the given state is null.
      See Also: