Package com.uc4.api.objects
Enum DeactivateCondition.Type
- java.lang.Object
-
- java.lang.Enum<DeactivateCondition.Type>
-
- com.uc4.api.objects.DeactivateCondition.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DeactivateCondition.Type>
- Enclosing class:
- DeactivateCondition
public static enum DeactivateCondition.Type extends java.lang.Enum<DeactivateCondition.Type>
Type of the deactivate condition.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AfterErrorFreeExecution
The Job is automatically deactivated after successful execution.AfterErrorFreeRestart
The Job is automatically deactivated when a restart has been successfully executed.Always
The Job is always automatically deactivated following execution.Never
The task is not automatically deactivated and remains visible in the Activity Window following execution.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeactivateCondition.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DeactivateCondition.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Never
public static final DeactivateCondition.Type Never
The task is not automatically deactivated and remains visible in the Activity Window following execution.
-
Always
public static final DeactivateCondition.Type Always
The Job is always automatically deactivated following execution. Additionally you can specify a time delay for deactivation.
-
AfterErrorFreeExecution
public static final DeactivateCondition.Type AfterErrorFreeExecution
The Job is automatically deactivated after successful execution. Interrupted Jobs remain visible in the Activity Window and must be manually deactivated. You can additionally set a status for the error-free execution and a time delay for de-activation.
-
AfterErrorFreeRestart
public static final DeactivateCondition.Type AfterErrorFreeRestart
The Job is automatically deactivated when a restart has been successfully executed. Previously interrupted Jobs are also deactivated. You can additionally set a status for the error-free execution and a time delay for de-activation.
-
-
Method Detail
-
values
public static DeactivateCondition.Type[] 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 (DeactivateCondition.Type c : DeactivateCondition.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeactivateCondition.Type 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
-
-