Enum Class DeactivateCondition.Type

java.lang.Object
java.lang.Enum<DeactivateCondition.Type>
com.uc4.api.objects.DeactivateCondition.Type
All Implemented Interfaces:
Serializable, Comparable<DeactivateCondition.Type>, Constable
Enclosing class:
DeactivateCondition

public static enum DeactivateCondition.Type extends Enum<DeactivateCondition.Type>
Type of the deactivate condition.
  • Enum Constant Details

    • 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 Details

    • values

      public static DeactivateCondition.Type[] 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

      public static DeactivateCondition.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null