Enum Class EventType

java.lang.Object
java.lang.Enum<EventType>
com.sdl.delivery.security.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, Constable

public enum EventType extends Enum<EventType>
Compatibility class for OWASP ESAPI.
  • Enum Constant Details

    • SECURITY_SUCCESS

      public static final EventType SECURITY_SUCCESS
      A security type of log event that has succeeded. This is one of 6 predefined ESAPI logging events. New events can be added.
    • SECURITY_FAILURE

      public static final EventType SECURITY_FAILURE
      A security type of log event that has failed. This is one of 6 predefined ESAPI logging events. New events can be added.
    • SECURITY_AUDIT

      public static final EventType SECURITY_AUDIT
      A security type of log event that is associated with an audit trail of some type, but the log event is not specifically something that has either succeeded or failed or that is irrelevant in the case of this logged message.
    • EVENT_SUCCESS

      public static final EventType EVENT_SUCCESS
      A non-security type of log event that has succeeded. This is one of 6 predefined ESAPI logging events. New events can be added.
    • EVENT_FAILURE

      public static final EventType EVENT_FAILURE
      A non-security type of log event that has failed. This is one of 6 predefined ESAPI logging events. New events can be added.
    • EVENT_UNSPECIFIED

      public static final EventType EVENT_UNSPECIFIED
      A non-security type of log event that is unspecified. This is one of 6 predefined ESAPI logging events. New events can be added.
  • Method Details

    • values

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