Enum Class REPLJob.JobState

java.lang.Object
java.lang.Enum<REPLJob.JobState>
de.uni_kiel.rz.fdr.repl.REPLJob.JobState
All Implemented Interfaces:
Serializable, Comparable<REPLJob.JobState>, Constable
Enclosing class:
REPLJob

public static enum REPLJob.JobState extends Enum<REPLJob.JobState>
The possible states that a job can be in.
  • Enum Constant Details

    • INTERNAL_ERROR

      public static final REPLJob.JobState INTERNAL_ERROR
      The job terminated with an internal error not related to your code
    • PAUSING

      public static final REPLJob.JobState PAUSING
      The job is currently transitioning to PAUSED. Residual workers are finishing their inputs.
    • PAUSED

      public static final REPLJob.JobState PAUSED
      The job is currently fully paused
    • CANCELLING

      public static final REPLJob.JobState CANCELLING
      The job is currently transitioning to CANCELLED. Residual workers are finishing their inputs or are currently forcefully terminated.
    • CANCELLED

      public static final REPLJob.JobState CANCELLED
      The job was fully cancelled
    • RUNNING

      public static final REPLJob.JobState RUNNING
      The job is currently running
    • COMPLETED_SUCCESSFULLY

      public static final REPLJob.JobState COMPLETED_SUCCESSFULLY
      The job has completed without errors
    • NOT_YET_STARTED

      public static final REPLJob.JobState NOT_YET_STARTED
      The job has not been started yet
    • COMPLETED_WITH_ERRORS

      public static final REPLJob.JobState COMPLETED_WITH_ERRORS
      The job has completed with errors
  • Method Details

    • values

      public static REPLJob.JobState[] 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 REPLJob.JobState 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<REPLJob.JobState>