Enum JobType
- java.lang.Object
-
- java.lang.Enum<JobType>
-
- com.xebialabs.xlrelease.scheduler.JobType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINER_TASKCREATE_RELEASE_TASKCUSTOM_SCRIPT_TASKFACET_CHECKFAIL_JOBFAILURE_HANDLERNEXT_CUSTOM_SCRIPT_TASKNOTIFICATION_TASKPRECONDITIONSCRIPT_TASKSTOP_WORKER_THREAD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JobType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOM_SCRIPT_TASK
public static final JobType CUSTOM_SCRIPT_TASK
-
NEXT_CUSTOM_SCRIPT_TASK
public static final JobType NEXT_CUSTOM_SCRIPT_TASK
-
SCRIPT_TASK
public static final JobType SCRIPT_TASK
-
CREATE_RELEASE_TASK
public static final JobType CREATE_RELEASE_TASK
-
NOTIFICATION_TASK
public static final JobType NOTIFICATION_TASK
-
PRECONDITION
public static final JobType PRECONDITION
-
FACET_CHECK
public static final JobType FACET_CHECK
-
FAILURE_HANDLER
public static final JobType FAILURE_HANDLER
-
STOP_WORKER_THREAD
public static final JobType STOP_WORKER_THREAD
-
FAIL_JOB
public static final JobType FAIL_JOB
-
CONTAINER_TASK
public static final JobType CONTAINER_TASK
-
-
Method Detail
-
values
public static JobType[] 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 (JobType c : JobType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-