Package com.denodo.scheduler.client.job
Enum Class JobData.State
- All Implemented Interfaces:
Serializable,Comparable<JobData.State>,Constable
- Enclosing class:
- JobData
An enumeration of job states.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJob state for indicating that the job is in pause state.Job state for draft jobs (not scheduled).Job state for indicating that the job not currently being executed.Job state for indicating that the job is currently executing.Job state for indicating that the job is waiting for its dependencies to be satisfied -
Method Summary
Modifier and TypeMethodDescriptionstatic JobData.StateReturns the enum constant of this class with the specified name.static JobData.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_RUNNING
Job state for indicating that the job not currently being executed. -
RUNNING
Job state for indicating that the job is currently executing. -
DISABLED
Job state for indicating that the job is in pause state. -
WAITING
Job state for indicating that the job is waiting for its dependencies to be satisfied -
DRAFT
Job state for draft jobs (not scheduled).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-