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