Package com.denodo.scheduler.client.job
Enum Class JobData.Result
- All Implemented Interfaces:
Serializable,Comparable<JobData.Result>,Constable
- Enclosing class:
- JobData
Represents the result of the last execution of the job.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJob result for indicating that the job completed successfully.Job result for indicating that the job had stopped because of an error.Job result for indicating that the job is misfired.Job result for indicating that the job has never been executed previously (or because it is a draft job).Job result for indicating that the job had stopped because of an user request.Job result for indicating that the job completed with warnings. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobData.ResultReturns the enum constant of this class with the specified name.static JobData.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPLETE
Job result for indicating that the job completed successfully. -
WARNING
Job result for indicating that the job completed with warnings. -
ERROR
Job result for indicating that the job had stopped because of an error. -
STOPPED
Job result for indicating that the job had stopped because of an user request. -
MISFIRED
Job result for indicating that the job is misfired. -
NEVER_EXECUTED
Job result for indicating that the job has never been executed previously (or because it is a draft job).
-
-
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
-