@InterfaceAudience.Public @InterfaceStability.Unstable public enum ComponentState extends Enum<ComponentState>
Enum Constant and Description |
---|
FAILED |
FLEXING |
NEEDS_UPGRADE |
STABLE |
SUCCEEDED |
UPGRADING |
Modifier and Type | Method and Description |
---|---|
static ComponentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentState FLEXING
public static final ComponentState STABLE
public static final ComponentState NEEDS_UPGRADE
public static final ComponentState UPGRADING
public static final ComponentState SUCCEEDED
public static final ComponentState FAILED
public static ComponentState[] values()
for (ComponentState c : ComponentState.values()) System.out.println(c);
public static ComponentState 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 © 2023 Apache Software Foundation. All rights reserved.