public static enum SyslogUtils.SyslogStatus extends Enum<SyslogUtils.SyslogStatus>
Enum Constant and Description |
---|
INCOMPLETE |
INVALID |
OTHER |
Modifier and Type | Method and Description |
---|---|
String |
getSyslogStatus() |
static SyslogUtils.SyslogStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyslogUtils.SyslogStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyslogUtils.SyslogStatus OTHER
public static final SyslogUtils.SyslogStatus INVALID
public static final SyslogUtils.SyslogStatus INCOMPLETE
public static SyslogUtils.SyslogStatus[] values()
for (SyslogUtils.SyslogStatus c : SyslogUtils.SyslogStatus.values()) System.out.println(c);
public static SyslogUtils.SyslogStatus 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 getSyslogStatus()
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.