|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ApiServiceState>
com.cloudera.api.model.ApiServiceState
public enum ApiServiceState
Represents the configured run state of a service.
Enum Constant Summary | |
---|---|
HISTORY_NOT_AVAILABLE
The service's run state was not captured at this past instant |
|
NA
The service doesn't start or stop |
|
STARTED
The service has started |
|
STARTING
The service is starting |
|
STOPPED
The service has stopped |
|
STOPPING
The service is stopping |
|
UNKNOWN
The service's run state cannot be determined |
Method Summary | |
---|---|
static ApiServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ApiServiceState[] |
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 ApiServiceState HISTORY_NOT_AVAILABLE
public static final ApiServiceState UNKNOWN
public static final ApiServiceState STARTING
public static final ApiServiceState STARTED
public static final ApiServiceState STOPPING
public static final ApiServiceState STOPPED
public static final ApiServiceState NA
Method Detail |
---|
public static ApiServiceState[] values()
for (ApiServiceState c : ApiServiceState.values()) System.out.println(c);
public static ApiServiceState 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 |