public static enum HdfsServerConstants.RollingUpgradeStartupOption extends Enum<HdfsServerConstants.RollingUpgradeStartupOption>
| Modifier and Type | Method and Description | 
|---|---|
| static String | getAllOptionString() | 
| String | getOptionString() | 
| boolean | matches(HdfsServerConstants.StartupOption option) | 
| static HdfsServerConstants.RollingUpgradeStartupOption | valueOf(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 DOWNGRADE
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(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 String getOptionString()
public boolean matches(HdfsServerConstants.StartupOption option)
public static String getAllOptionString()
Copyright © 2022 Apache Software Foundation. All rights reserved.