public static enum HdfsConstants.SafeModeAction extends Enum<HdfsConstants.SafeModeAction>
Enum Constant and Description |
---|
SAFEMODE_ENTER |
SAFEMODE_FORCE_EXIT |
SAFEMODE_GET |
SAFEMODE_LEAVE |
Modifier and Type | Method and Description |
---|---|
static HdfsConstants.SafeModeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.SafeModeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConstants.SafeModeAction SAFEMODE_LEAVE
public static final HdfsConstants.SafeModeAction SAFEMODE_ENTER
public static final HdfsConstants.SafeModeAction SAFEMODE_GET
public static final HdfsConstants.SafeModeAction SAFEMODE_FORCE_EXIT
public static HdfsConstants.SafeModeAction[] values()
for (HdfsConstants.SafeModeAction c : HdfsConstants.SafeModeAction.values()) System.out.println(c);
public static HdfsConstants.SafeModeAction 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 © 2018 Apache Software Foundation. All Rights Reserved.