java.io.Serializable, java.lang.Comparable<HdfsServerConstants.RollingUpgradeStartupOption>public static enum HdfsServerConstants.RollingUpgradeStartupOption extends java.lang.Enum<HdfsServerConstants.RollingUpgradeStartupOption>
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
getAllOptionString() |
|
java.lang.String |
getOptionString() |
|
boolean |
matches(HdfsServerConstants.StartupOption option) |
|
static HdfsServerConstants.RollingUpgradeStartupOption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.RollingUpgradeStartupOption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsServerConstants.RollingUpgradeStartupOption ROLLBACK
public static final HdfsServerConstants.RollingUpgradeStartupOption STARTED
public static HdfsServerConstants.RollingUpgradeStartupOption[] values()
for (HdfsServerConstants.RollingUpgradeStartupOption c : HdfsServerConstants.RollingUpgradeStartupOption.values()) System.out.println(c);
public static HdfsServerConstants.RollingUpgradeStartupOption 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 java.lang.String getOptionString()
public boolean matches(HdfsServerConstants.StartupOption option)
public static java.lang.String getAllOptionString()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.