Class FlagState

All Implemented Interfaces:
Serializable, Runnable, ArooaContextAware, ArooaSessionAware, Forceable, PropertyChangeNotifier, Iconic, LogEnabled, Resettable, Stateful

public class FlagState extends SerializableJob
Author:
Rob Gordon
See Also:

Description

When run it's state becomes the given state.
  • Constructor Details

    • FlagState

      public FlagState()
    • FlagState

      public FlagState(JobState state)
  • Method Details

    • execute

      protected int execute() throws Exception
      Description copied from class: SimpleJob
      Execute this job.
      Specified by:
      execute in class SimpleJob
      Returns:
      0 if the job is complete, anything else otherwise.
      Throws:
      Exception - If the unexpected occurs.
    • getState

      public JobState getState()
      Returns:
      Returns the desired.
    • setState

      public void setState(JobState desired)
      Parameters:
      desired - The desired to set.