Enum Class RunState

java.lang.Object
java.lang.Enum<RunState>
de.espirit.firstspirit.access.schedule.RunState
All Implemented Interfaces:
Serializable, Comparable<RunState>, Constable

public enum RunState extends Enum<RunState>
Run state used for schedule tasks.
Since:
4.0
See Also:
  • Enum Constant Details

    • NOT_STARTED

      public static final RunState NOT_STARTED
      Task has not been started.
      Since:
      4.0
    • RUNNING

      public static final RunState RUNNING
      Task running.
      Since:
      4.0
    • ABORTED

      public static final RunState ABORTED
      Task execution aborted.
      Since:
      4.0
    • ERROR

      public static final RunState ERROR
      Task execution finished with errors, e.g. caused by:
      Since:
      4.0
    • SUCCESS

      public static final RunState SUCCESS
      Task execution finished successfully.
      Since:
      4.0
    • FINISHED_WITH_ERRORS

      public static final RunState FINISHED_WITH_ERRORS
      Task execution finished with errors, e.g. to signal that errors were logged during execution of a GenerateTask (and error and warning threshold were not exceeded).
      Since:
      4.0
  • Method Details

    • values

      public static RunState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RunState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null