Enum Class FailedDependencyAction

java.lang.Object
java.lang.Enum<FailedDependencyAction>
org.opends.server.backends.task.FailedDependencyAction
All Implemented Interfaces:
Serializable, Comparable<FailedDependencyAction>, java.lang.constant.Constable

public enum FailedDependencyAction extends Enum<FailedDependencyAction>
This enumeration defines the various ways that a task can behave if it is dependent upon another task and that earlier task is done running but did not complete successfully.
  • Enum Constant Details

    • PROCESS

      public static final FailedDependencyAction PROCESS
      The action that indicates that the dependent task should be processed anyway.
    • CANCEL

      public static final FailedDependencyAction CANCEL
      The action that indicates that the dependent task should be canceled.
    • DISABLE

      public static final FailedDependencyAction DISABLE
      The action that indicates that the dependent task should be disabled so that an administrator will have to re-enable it before it can start.
  • Method Details

    • values

      public static FailedDependencyAction[] 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 FailedDependencyAction 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
    • defaultValue

      public static FailedDependencyAction defaultValue()
      Returns the default action.
      Returns:
      the default action
    • fromString

      public static FailedDependencyAction fromString(String s)
      Retrieves the failed dependency action that corresponds to the provided string value.
      Parameters:
      s - The string value for which to retrieve the corresponding failed dependency action.
      Returns:
      The corresponding failed dependency action, or null if none could be associated with the provided string.
    • getDisplayName

      public LocalizableMessage getDisplayName()
      Gets the display name of this action.
      Returns:
      LocalizableMessage representing the name of this action