Enum Class ExecutionPhase

java.lang.Object
java.lang.Enum<ExecutionPhase>
org.javastro.ivoa.entities.uws.ExecutionPhase
All Implemented Interfaces:
Serializable, Comparable<ExecutionPhase>, Constable, org.jvnet.jaxb.lang.EnumValue<String>

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public enum ExecutionPhase extends Enum<ExecutionPhase> implements org.jvnet.jaxb.lang.EnumValue<String>
Enumeration of possible phases of job execution

Java class for ExecutionPhase

.

The following schema fragment specifies the expected content contained within this class.


 <simpleType name="ExecutionPhase">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="PENDING"/>
     <enumeration value="QUEUED"/>
     <enumeration value="EXECUTING"/>
     <enumeration value="COMPLETED"/>
     <enumeration value="ERROR"/>
     <enumeration value="UNKNOWN"/>
     <enumeration value="HELD"/>
     <enumeration value="SUSPENDED"/>
     <enumeration value="ABORTED"/>
     <enumeration value="ARCHIVED"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • PENDING

      public static final ExecutionPhase PENDING
      The first phase a job is entered into - this is where a job is being set up but no request to run has occurred.
    • QUEUED

      public static final ExecutionPhase QUEUED
      A job has been accepted for execution but is waiting in a queue
    • EXECUTING

      public static final ExecutionPhase EXECUTING
      A job is running
    • COMPLETED

      public static final ExecutionPhase COMPLETED
      A job has completed successfully
    • ERROR

      public static final ExecutionPhase ERROR
      Some form of error has occurred
    • UNKNOWN

      public static final ExecutionPhase UNKNOWN
      The job is in an unknown state.
    • HELD

      public static final ExecutionPhase HELD
      The job is HELD pending execution and will not automatically be executed - can occur after a PHASE=RUN request has been made (cf PENDING).
    • SUSPENDED

      public static final ExecutionPhase SUSPENDED
      The job has been suspended by the system during execution
    • ABORTED

      public static final ExecutionPhase ABORTED
      The job has been aborted, either by user request or by the server because of lack or overuse of resources.
    • ARCHIVED

      public static final ExecutionPhase ARCHIVED
      The job has been archived by the server at destruction time. An archived job may have deleted the results to reclaim resources, but must have job metadata preserved. This is an alternative that the server may choose in contrast to completely destroying all record of the job.
  • Method Details

    • values

      public static ExecutionPhase[] 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 ExecutionPhase 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
    • value

      public String value()
    • fromValue

      public static ExecutionPhase fromValue(String v)
    • enumValue

      public String enumValue()
      Specified by:
      enumValue in interface org.jvnet.jaxb.lang.EnumValue<String>