public static enum SysLogProxy.SyslogSeverity extends Enum<SysLogProxy.SyslogSeverity>
Enum Constant and Description |
---|
ALERT |
CRITICAL |
DEBUG |
EMERGENCY |
ERROR |
INFORMATIONAL |
NOTICE |
WARNING |
Modifier and Type | Method and Description |
---|---|
static SysLogProxy.SyslogSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SysLogProxy.SyslogSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SysLogProxy.SyslogSeverity EMERGENCY
public static final SysLogProxy.SyslogSeverity ALERT
public static final SysLogProxy.SyslogSeverity CRITICAL
public static final SysLogProxy.SyslogSeverity ERROR
public static final SysLogProxy.SyslogSeverity WARNING
public static final SysLogProxy.SyslogSeverity NOTICE
public static final SysLogProxy.SyslogSeverity INFORMATIONAL
public static final SysLogProxy.SyslogSeverity DEBUG
public static SysLogProxy.SyslogSeverity[] values()
for (SysLogProxy.SyslogSeverity c : SysLogProxy.SyslogSeverity.values()) System.out.println(c);
public static SysLogProxy.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 nullCopyright © 2018. All rights reserved.