java.io.Serializable, java.lang.Comparable<HdfsConstants.SafeModeAction>public static enum HdfsConstants.SafeModeAction extends java.lang.Enum<HdfsConstants.SafeModeAction>
| Enum Constant | Description |
|---|---|
SAFEMODE_ENTER |
|
SAFEMODE_FORCE_EXIT |
|
SAFEMODE_GET |
|
SAFEMODE_LEAVE |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsConstants.SafeModeAction |
valueOf(java.lang.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(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.