public enum ApiRoleState extends Enum<ApiRoleState>
Enum Constant and Description |
---|
BUSY
The role is executing a command
|
HISTORY_NOT_AVAILABLE
The role's run state was not captured at this past instant
|
NA
The role doesn't start or stop
|
STARTED
The role has started
|
STARTING
The role is starting
|
STOPPED
The role has stopped
|
STOPPING
The role is stopping
|
UNKNOWN
The role's run state cannot be determined
|
Modifier and Type | Method and Description |
---|---|
static ApiRoleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiRoleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiRoleState HISTORY_NOT_AVAILABLE
public static final ApiRoleState UNKNOWN
public static final ApiRoleState STARTING
public static final ApiRoleState STARTED
public static final ApiRoleState BUSY
public static final ApiRoleState STOPPING
public static final ApiRoleState STOPPED
public static final ApiRoleState NA
public static ApiRoleState[] values()
for (ApiRoleState c : ApiRoleState.values()) System.out.println(c);
public static ApiRoleState 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.