Enum JobState

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE
      The Job is available to have Tasks scheduled.
      COMPLETED
      All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.
      DELETING
      A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).
      DISABLED
      A user has disabled the Job.
      DISABLING
      A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).
      ENABLING
      A user has requested that the Job be enabled, but the enable operation is still in progress.
      TERMINATING
      The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).
    • Enum Constant Detail

      • ACTIVE

        public static final JobState ACTIVE
        The Job is available to have Tasks scheduled.
      • DISABLING

        public static final JobState DISABLING
        A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).
      • DISABLED

        public static final JobState DISABLED
        A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled.
      • ENABLING

        public static final JobState ENABLING
        A user has requested that the Job be enabled, but the enable operation is still in progress.
      • TERMINATING

        public static final JobState TERMINATING
        The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).
      • COMPLETED

        public static final JobState COMPLETED
        All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.
      • DELETING

        public static final JobState DELETING
        A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).
    • Method Detail

      • values

        public static JobState[] 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 (JobState c : JobState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JobState valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromString

        public static JobState fromString​(String value)
        Parses a serialized value to a JobState instance.
        Parameters:
        value - the serialized value to parse.
        Returns:
        the parsed JobState object, or null if unable to parse.