Package com.uc4.api.objects
Enum Class DeactivateCondition.Type
- All Implemented Interfaces:
Serializable
,Comparable<DeactivateCondition.Type>
,Constable
- Enclosing class:
- DeactivateCondition
Type of the deactivate condition.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Job is automatically deactivated after successful execution.The Job is automatically deactivated when a restart has been successfully executed.The Job is always automatically deactivated following execution.The task is not automatically deactivated and remains visible in the Activity Window following execution. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeactivateCondition.Type
Returns the enum constant of this class with the specified name.static DeactivateCondition.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Never
The task is not automatically deactivated and remains visible in the Activity Window following execution. -
Always
The Job is always automatically deactivated following execution. Additionally you can specify a time delay for deactivation. -
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
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 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
-