java.lang.Object
java.lang.Enum<JobStatus>
org.apache.shardingsphere.data.pipeline.api.job.JobStatus
All Implemented Interfaces:
Serializable, Comparable<JobStatus>, java.lang.constant.Constable

public enum JobStatus extends Enum<JobStatus>
Scaling Job status.
  • Enum Constant Details

    • RUNNING

      public static final JobStatus RUNNING
      Job is in running status.
    • PREPARING

      public static final JobStatus PREPARING
      Job is in prepare status.
    • EXECUTE_INVENTORY_TASK

      public static final JobStatus EXECUTE_INVENTORY_TASK
      Job is in execute inventory task status.
    • EXECUTE_INCREMENTAL_TASK

      public static final JobStatus EXECUTE_INCREMENTAL_TASK
      Job is in execute incremental task status.
    • FINISHED

      public static final JobStatus FINISHED
      Job is finished.
    • PREPARING_FAILURE

      public static final JobStatus PREPARING_FAILURE
      Task has stopped by failing to prepare work.
    • EXECUTE_INVENTORY_TASK_FAILURE

      public static final JobStatus EXECUTE_INVENTORY_TASK_FAILURE
      Task has stopped by failing to execute inventory task.
    • EXECUTE_INCREMENTAL_TASK_FAILURE

      public static final JobStatus EXECUTE_INCREMENTAL_TASK_FAILURE
      Task has stopped by failing to execute incremental task.
  • Method Details

    • values

      public static JobStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static JobStatus 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