public enum InfoLogLevel extends java.lang.Enum<InfoLogLevel>
Enum Constant and Description |
---|
DEBUG_LEVEL |
ERROR_LEVEL |
FATAL_LEVEL |
HEADER_LEVEL |
INFO_LEVEL |
NUM_INFO_LOG_LEVELS |
WARN_LEVEL |
Modifier and Type | Method and Description |
---|---|
static InfoLogLevel |
getInfoLogLevel(byte value)
Get InfoLogLevel by byte value.
|
byte |
getValue()
Returns the byte value of the enumerations value
|
static InfoLogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InfoLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoLogLevel DEBUG_LEVEL
public static final InfoLogLevel INFO_LEVEL
public static final InfoLogLevel WARN_LEVEL
public static final InfoLogLevel ERROR_LEVEL
public static final InfoLogLevel FATAL_LEVEL
public static final InfoLogLevel HEADER_LEVEL
public static final InfoLogLevel NUM_INFO_LOG_LEVELS
public static InfoLogLevel[] values()
for (InfoLogLevel c : InfoLogLevel.values()) System.out.println(c);
public static InfoLogLevel 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 byte getValue()
public static InfoLogLevel getInfoLogLevel(byte value)
value
- byte representation of InfoLogLevel.InfoLogLevel
instance.java.lang.IllegalArgumentException
- if an invalid
value is provided.