public enum SyslogSeverity extends Enum<SyslogSeverity>
Enum Constant and Description |
---|
ALERT |
CRIT |
DEBUG |
EMERG |
ERR |
INFO |
NOTICE |
WARNING |
Modifier and Type | Method and Description |
---|---|
static SyslogSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyslogSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyslogSeverity EMERG
public static final SyslogSeverity ALERT
public static final SyslogSeverity CRIT
public static final SyslogSeverity ERR
public static final SyslogSeverity WARNING
public static final SyslogSeverity NOTICE
public static final SyslogSeverity INFO
public static final SyslogSeverity DEBUG
public static SyslogSeverity[] values()
for (SyslogSeverity c : SyslogSeverity.values()) System.out.println(c);
public static SyslogSeverity 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 nullApache Camel