Enum Class Decision

java.lang.Object
java.lang.Enum<Decision>
org.eblocker.server.common.transaction.Decision
All Implemented Interfaces:
Serializable, Comparable<Decision>, java.lang.constant.Constable

public enum Decision extends Enum<Decision>
  • Enum Constant Details

    • BLOCK

      public static final Decision BLOCK
    • PASS

      public static final Decision PASS
    • REDIRECT

      public static final Decision REDIRECT
    • ASK

      public static final Decision ASK
    • NO_DECISION

      public static final Decision NO_DECISION
    • NO_CONTENT

      public static final Decision NO_CONTENT
    • SET_CSP_HEADER

      public static final Decision SET_CSP_HEADER
  • Method Details

    • values

      public static Decision[] 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 Decision 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