public enum UpgradeScope extends Enum<UpgradeScope>
| Enum Constant and Description |
|---|
ANY
Used for any scoped upgrade.
|
COMPLETE
Used only when completely upgrading the cluster.
|
PARTIAL
Used only when partially upgrading the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static UpgradeScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpgradeScope COMPLETE
public static final UpgradeScope PARTIAL
public static final UpgradeScope ANY
public static UpgradeScope[] values()
for (UpgradeScope c : UpgradeScope.values()) System.out.println(c);
public static UpgradeScope 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.