public static enum Status.Code extends Enum<Status.Code>
Enum Constant and Description |
---|
ERROR
There is a known problem; user intervention is likely needed to resolve
the problem.
|
INACTIVE
The status is disabled because it does not apply.
|
NORMAL
Everything is go; all is right with the world.
|
UNAVAILABLE
The status is enabled but was unable to be resolved.
|
WARNING
There may be a problem, but maybe not; user intervention may aid the
situation, but things may fix themselves.
|
Modifier and Type | Method and Description |
---|---|
static Status.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.Code INACTIVE
Represented with an empty LED.
public static final Status.Code UNAVAILABLE
Represented with an empty LED.
public static final Status.Code NORMAL
Represented with a green LED.
public static final Status.Code WARNING
Represented with a yellow LED.
public static final Status.Code ERROR
Represented with a red LED.
public static Status.Code[] values()
for (Status.Code c : Status.Code.values()) System.out.println(c);
public static Status.Code 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 null