Enum Class AbstractScheduledAction.CompensatingActionMode

java.lang.Object
java.lang.Enum<AbstractScheduledAction.CompensatingActionMode>
org.alfresco.repo.action.scheduled.AbstractScheduledAction.CompensatingActionMode
All Implemented Interfaces:
Serializable, Comparable<AbstractScheduledAction.CompensatingActionMode>, Constable
Enclosing class:
AbstractScheduledAction

public static enum AbstractScheduledAction.CompensatingActionMode extends Enum<AbstractScheduledAction.CompensatingActionMode>
Enum to define if compensating actions are run.
Author:
Andy Hind
  • Enum Constant Details

  • 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 name
      NullPointerException - if the argument is null
    • getCompensatingActionMode

      public static AbstractScheduledAction.CompensatingActionMode getCompensatingActionMode(String compensatingActionModeString)
      Parse a string to a compensating action mode - used in reading the config.
      Parameters:
      compensatingActionModeString - String
      Returns:
      - the compensating action mode.