java.io.Serializable, java.lang.Comparable<HdfsConstants.RollingUpgradeAction>public static enum HdfsConstants.RollingUpgradeAction extends java.lang.Enum<HdfsConstants.RollingUpgradeAction>
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsConstants.RollingUpgradeAction |
fromString(java.lang.String s) |
Convert the given String to a RollingUpgradeAction.
|
static HdfsConstants.RollingUpgradeAction |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.RollingUpgradeAction[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConstants.RollingUpgradeAction QUERY
public static final HdfsConstants.RollingUpgradeAction PREPARE
public static final HdfsConstants.RollingUpgradeAction FINALIZE
public static HdfsConstants.RollingUpgradeAction[] values()
for (HdfsConstants.RollingUpgradeAction c : HdfsConstants.RollingUpgradeAction.values()) System.out.println(c);
public static HdfsConstants.RollingUpgradeAction 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 static HdfsConstants.RollingUpgradeAction fromString(java.lang.String s)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.