Package overit.geocall.scheduler
Enum Class JobExecution.Type
- All Implemented Interfaces:
Serializable,Comparable<JobExecution.Type>,Constable
- Enclosing class:
JobExecution
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionlonggetCode()Returns a long about thecode.static JobExecution.Typeof(long code) Returns aJobExecution.Typecorresponding to the providedcode; or throws aIllegalArgumentExceptionotherwise.static JobExecution.TypeReturns the enum constant of this class with the specified name.static JobExecution.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JOB
-
BATCH
-
-
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
-
of
Returns aJobExecution.Typecorresponding to the providedcode; or throws aIllegalArgumentExceptionotherwise.- Parameters:
code- long about acodevalue.- Returns:
- a
JobExecution.Typecorresponding to the providedcode; or throws aIllegalArgumentExceptionotherwise. - Throws:
IllegalArgumentException- exception thrown in case there is noJobExecution.Typecorresponding to the provided value.
-
getCode
public long getCode()Returns a long about thecode.- Returns:
- a long about the
code.
-