public enum ApiRoleState extends Enum<ApiRoleState>
Modifier and Type | Class and Description |
---|---|
static class |
ApiRoleState.Adapter |
Enum Constant and Description |
---|
BUSY |
HISTORY_NOT_AVAILABLE |
NA |
STARTED |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ApiRoleState |
fromValue(String text) |
String |
getValue() |
String |
toString() |
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 nullpublic String getValue()
public String toString()
toString
in class Enum<ApiRoleState>
public static ApiRoleState fromValue(String text)
Copyright © 2019. All rights reserved.