Enum Class JobExitStatus

java.lang.Object
java.lang.Enum<JobExitStatus>
net.bluemind.scheduledjob.api.JobExitStatus
All Implemented Interfaces:
Serializable, Comparable<JobExitStatus>, Constable

public enum JobExitStatus extends Enum<JobExitStatus>
  • Enum Constant Details

    • IN_PROGRESS

      public static final JobExitStatus IN_PROGRESS
      Job is running
    • SUCCESS

      public static final JobExitStatus SUCCESS
      Successful execution
    • COMPLETED_WITH_WARNINGS

      public static final JobExitStatus COMPLETED_WITH_WARNINGS
      The task reported some problems but the work was accomplished.
    • FAILURE

      public static final JobExitStatus FAILURE
      The task failed. Most of its work was not done.
    • UNKNOWN

      public static final JobExitStatus UNKNOWN
      The task never run or all records was purge.
    • INTERRUPTED

      public static final JobExitStatus INTERRUPTED
      The task has been interrupted.
  • Method Details

    • values

      public static JobExitStatus[] 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 JobExitStatus 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