public static enum RMLogger.Severity extends java.lang.Enum<RMLogger.Severity>
Enum Constant and Description |
---|
Error
Error level.
|
Info
Info level.
|
Warn
Warning level.
|
Modifier and Type | Method and Description |
---|---|
char |
getChar()
Returns the
char representing the severity level. |
static RMLogger.Severity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMLogger.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMLogger.Severity Error
public static final RMLogger.Severity Warn
public static final RMLogger.Severity Info
public static RMLogger.Severity[] values()
for (RMLogger.Severity c : RMLogger.Severity.values()) System.out.println(c);
public static RMLogger.Severity 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 char getChar()
char representing the severity level.
char
instance.© Copyright IBM Corp. 2003, 2013. All Rights Reserved.