private static enum RESTApiClusterManager.RoleState extends Enum<RESTApiClusterManager.RoleState>
Enum Constant and Description |
---|
BUSY |
HISTORY_NOT_AVAILABLE |
NA |
STARTED |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static RESTApiClusterManager.RoleState |
fromString(String value) |
static RESTApiClusterManager.RoleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RESTApiClusterManager.RoleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RESTApiClusterManager.RoleState HISTORY_NOT_AVAILABLE
public static final RESTApiClusterManager.RoleState UNKNOWN
public static final RESTApiClusterManager.RoleState STARTING
public static final RESTApiClusterManager.RoleState STARTED
public static final RESTApiClusterManager.RoleState BUSY
public static final RESTApiClusterManager.RoleState STOPPING
public static final RESTApiClusterManager.RoleState STOPPED
public static final RESTApiClusterManager.RoleState NA
public static RESTApiClusterManager.RoleState[] values()
for (RESTApiClusterManager.RoleState c : RESTApiClusterManager.RoleState.values()) System.out.println(c);
public static RESTApiClusterManager.RoleState 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 static RESTApiClusterManager.RoleState fromString(String value)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.