public enum ApiEntityStatus extends Enum<ApiEntityStatus>
Enum Constant and Description |
---|
BAD_HEALTH |
CONCERNING_HEALTH |
DISABLED_HEALTH |
DOWN |
GOOD_HEALTH |
HISTORY_NOT_AVAILABLE |
NONE |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
UNKNOWN_HEALTH |
Modifier and Type | Method and Description |
---|---|
static ApiEntityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiEntityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiEntityStatus UNKNOWN
public static final ApiEntityStatus NONE
public static final ApiEntityStatus STOPPED
public static final ApiEntityStatus DOWN
public static final ApiEntityStatus UNKNOWN_HEALTH
public static final ApiEntityStatus DISABLED_HEALTH
public static final ApiEntityStatus CONCERNING_HEALTH
public static final ApiEntityStatus BAD_HEALTH
public static final ApiEntityStatus GOOD_HEALTH
public static final ApiEntityStatus STARTING
public static final ApiEntityStatus STOPPING
public static final ApiEntityStatus HISTORY_NOT_AVAILABLE
public static ApiEntityStatus[] values()
for (ApiEntityStatus c : ApiEntityStatus.values()) System.out.println(c);
public static ApiEntityStatus 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.