java.io.Serializable, java.lang.Comparable<DecommissionType>public enum DecommissionType extends java.lang.Enum<DecommissionType>
| Enum Constant | 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 | Description |
|---|---|---|
static DecommissionType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.