public enum DecommissionType extends Enum<DecommissionType>
Enum Constant and Description |
---|
FORCEFUL
Forceful decommissioning of nodes whose decommissioning is already in
progress.
|
GRACEFUL
Graceful decommissioning of nodes.
|
NORMAL
Decomissioning nodes in normal way.
|
Modifier and Type | Method and Description |
---|---|
static DecommissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecommissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecommissionType NORMAL
public static final DecommissionType GRACEFUL
public static final DecommissionType FORCEFUL
public static DecommissionType[] values()
for (DecommissionType c : DecommissionType.values()) System.out.println(c);
public static DecommissionType 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 © 2008–2024 Apache Software Foundation. All rights reserved.