public enum ApiServiceState extends Enum<ApiServiceState>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.