public enum LogSeverity extends Enum<LogSeverity>
Modifier and Type | Method and Description |
---|---|
static LogSeverity |
fromValue(String v) |
String |
value() |
static LogSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogSeverity NORMAL
public static final LogSeverity WARNING
public static final LogSeverity ERROR
public static final LogSeverity ALERT
public static LogSeverity[] values()
for (LogSeverity c : LogSeverity.values()) System.out.println(c);
public static LogSeverity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static LogSeverity fromValue(String v)
Copyright © 2012. All Rights Reserved.