java.lang.Object
java.lang.Enum<Action.Result>
com.aoapps.servlet.firewall.api.Action.Result
All Implemented Interfaces:
Serializable, Comparable<Action.Result>
Enclosing interface:
Action

public static enum Action.Result extends Enum<Action.Result>
The set of action results.
  • Enum Constant Details

    • CONTINUE

      public static final Action.Result CONTINUE
      Indicates an action has been performed, but it is non-terminal and rule processing must continue.
    • TERMINATE

      public static final Action.Result TERMINATE
      Indicates that a terminal action has been performed. Rule processing must stop. Valid from either Matcher or Action, however it must originate only from an Action and may be propagated up the stack through Matcher. We are favoring this propagation of return over exceptions.
      See Also:
  • Method Details

    • values

      public static Action.Result[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Action.Result valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null