public enum StatusLevel extends java.lang.Enum<StatusLevel>
| Enum Constant and Description |
|---|
ERROR
Specifies that the user's relationship to the platform is not functional.
|
OK
Specifies that the user's relationship to the platform is normal and all required
connectivity is established.
|
TERMINATED
Specifies that the user's relationship to the platform has terminated abnormally.
|
WARN
Specifies that the user's relationship to the platform is functional but not optimal.
|
| Modifier and Type | Method and Description |
|---|---|
static StatusLevel |
getStatusLevel(short status)
Gets the enumeration value for the given short level value.
|
short |
getValue()
Returns the short value corresponding to the StatusLevel.
|
static StatusLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatusLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusLevel OK
public static final StatusLevel WARN
public static final StatusLevel ERROR
public static final StatusLevel TERMINATED
public static StatusLevel[] values()
for (StatusLevel c : StatusLevel.values()) System.out.println(c);
public static StatusLevel 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 final short getValue()
public static final StatusLevel getStatusLevel(short status)
status - The short value to get the enumeration value for