Enum ComputeJob.Status

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FAILED
      A job that failed during it's execution
      FAILED_VERIFICATION
      A job that has completed execution but failed verification
      KILLED
      A job that was killed
      NOT_STARTED
      A job that has not started execution yet
      RUNNING
      A job that is currently executing
      SUCCEEDED
      A job that has completed execution successfully
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isTerminal()  
      static ComputeJob.Status valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ComputeJob.Status[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOT_STARTED

        public static final ComputeJob.Status NOT_STARTED
        A job that has not started execution yet
      • RUNNING

        public static final ComputeJob.Status RUNNING
        A job that is currently executing
      • SUCCEEDED

        public static final ComputeJob.Status SUCCEEDED
        A job that has completed execution successfully
      • FAILED

        public static final ComputeJob.Status FAILED
        A job that failed during it's execution
      • FAILED_VERIFICATION

        public static final ComputeJob.Status FAILED_VERIFICATION
        A job that has completed execution but failed verification
    • Method Detail

      • values

        public static ComputeJob.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ComputeJob.Status c : ComputeJob.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ComputeJob.Status valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isTerminal

        public boolean isTerminal()