Enum Class EventLevel

java.lang.Object
java.lang.Enum<EventLevel>
com.verisign.epp.codec.loginsec.v1_0.EventLevel
All Implemented Interfaces:
Serializable, Comparable<EventLevel>, Constable

public enum EventLevel extends Enum<EventLevel>
Event level, which include the following possible values:
  • WARNING - Event that needs to be addressed.
  • ERROR - Event that needs to be addressed immediately.
  • Enum Constant Details

  • Method Details

    • values

      public static EventLevel[] 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 EventLevel 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
    • getEventLevel

      public static EventLevel getEventLevel(String aString)
      Get the event level enumerated value given the matching string.
      Parameters:
      aString - EventLevel enumerated string to convert to an enumerated EventLevel instance.
      Returns:
      Enumerated EventLevel value matching the String.
      Throws:
      InvalidParameterException - If aString does not match an enumerated EventLevel string value.
    • toString

      public String toString()
      Convert the enumerated EventLevel value to a String.
      Overrides:
      toString in class Enum<EventLevel>