public static enum DatanodeInfo.AdminStates extends Enum<DatanodeInfo.AdminStates>
Enum Constant and Description |
---|
DECOMMISSION_INPROGRESS |
DECOMMISSIONED |
ENTERING_MAINTENANCE |
IN_MAINTENANCE |
NORMAL |
Modifier and Type | Method and Description |
---|---|
static DatanodeInfo.AdminStates |
fromValue(String value) |
String |
toString() |
static DatanodeInfo.AdminStates |
valueOf(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(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 nullpublic String toString()
toString
in class Enum<DatanodeInfo.AdminStates>
public static DatanodeInfo.AdminStates fromValue(String value)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.