@InterfaceAudience.Public @InterfaceStability.Unstable public enum ContainerState extends Enum<ContainerState>
Enum Constant and Description |
---|
FAILED |
FAILED_UPGRADE |
NEEDS_UPGRADE |
READY |
RUNNING_BUT_UNREADY |
STOPPED |
SUCCEEDED |
UPGRADING |
Modifier and Type | Method and Description |
---|---|
static ContainerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerState RUNNING_BUT_UNREADY
public static final ContainerState READY
public static final ContainerState STOPPED
public static final ContainerState NEEDS_UPGRADE
public static final ContainerState UPGRADING
public static final ContainerState SUCCEEDED
public static final ContainerState FAILED
public static final ContainerState FAILED_UPGRADE
public static ContainerState[] values()
for (ContainerState c : ContainerState.values()) System.out.println(c);
public static ContainerState 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.