|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Status.Code>
com.google.enterprise.adaptor.Status.Code
public static enum Status.Code
Available statuses for displaying state indicators on the dashboard.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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.
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |