public enum EventLevel extends java.lang.Enum<EventLevel>
WARNING
- Event that needs to be addressed.ERROR
- Event that needs to be addressed immediately.Modifier and Type | Method and Description |
---|---|
static EventLevel |
getEventLevel(java.lang.String aString)
Get the event level enumerated value given the matching string.
|
java.lang.String |
toString()
Convert the enumerated
EventLevel value to a
String . |
static EventLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLevel WARNING
public static final EventLevel ERROR
public static EventLevel[] values()
for (EventLevel c : EventLevel.values()) System.out.println(c);
public static EventLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EventLevel getEventLevel(java.lang.String aString)
aString
- EventLevel
enumerated string to convert to an
enumerated EventLevel
instance.EventLevel
value matching the
String
.java.security.InvalidParameterException
- If aString
does not match an enumerated
EventLevel
string value.public java.lang.String toString()
EventLevel
value to a
String
.toString
in class java.lang.Enum<EventLevel>
Copyright © VeriSign Inc. All Rights Reserved.