public static enum HdfsConstants.RollingUpgradeAction extends Enum<HdfsConstants.RollingUpgradeAction>
| Modifier and Type | Method and Description | 
|---|---|
| static HdfsConstants.RollingUpgradeAction | fromString(String s)Convert the given String to a RollingUpgradeAction. | 
| static HdfsConstants.RollingUpgradeAction | valueOf(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(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 static HdfsConstants.RollingUpgradeAction fromString(String s)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.