java.io.Serializable, java.lang.Comparable<DatanodeInfo.AdminStates>public static enum DatanodeInfo.AdminStates extends java.lang.Enum<DatanodeInfo.AdminStates>
| Enum Constant | Description |
|---|---|
DECOMMISSION_INPROGRESS |
|
DECOMMISSIONED |
|
ENTERING_MAINTENANCE |
|
IN_MAINTENANCE |
|
NORMAL |
| Modifier and Type | Method | Description |
|---|---|---|
static DatanodeInfo.AdminStates |
fromValue(java.lang.String value) |
|
java.lang.String |
toString() |
|
static DatanodeInfo.AdminStates |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DatanodeInfo.AdminStates[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatanodeInfo.AdminStates NORMAL
public static final DatanodeInfo.AdminStates DECOMMISSION_INPROGRESS
public static final DatanodeInfo.AdminStates DECOMMISSIONED
public static final DatanodeInfo.AdminStates ENTERING_MAINTENANCE
public static final DatanodeInfo.AdminStates IN_MAINTENANCE
public static DatanodeInfo.AdminStates[] values()
for (DatanodeInfo.AdminStates c : DatanodeInfo.AdminStates.values()) System.out.println(c);
public static DatanodeInfo.AdminStates 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<DatanodeInfo.AdminStates>public static DatanodeInfo.AdminStates fromValue(java.lang.String value)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.