public enum AMNodeState extends Enum<AMNodeState>
| Enum Constant and Description |
|---|
ACTIVE |
BLACKLISTED |
FORCED_ACTIVE |
UNHEALTHY |
| Modifier and Type | Method and Description |
|---|---|
static AMNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMNodeState ACTIVE
public static final AMNodeState FORCED_ACTIVE
public static final AMNodeState BLACKLISTED
public static final AMNodeState UNHEALTHY
public static AMNodeState[] values()
for (AMNodeState c : AMNodeState.values()) System.out.println(c);
public static AMNodeState 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 © 2015 Apache Software Foundation. All rights reserved.