public enum ContainerState extends Enum<ContainerState>
Enum Constant and Description |
---|
CONTAINER_CLEANEDUP_AFTER_KILL |
CONTAINER_RESOURCES_CLEANINGUP |
DONE |
EXITED_WITH_FAILURE |
EXITED_WITH_SUCCESS |
KILLING |
LOCALIZATION_FAILED |
LOCALIZING |
NEW |
PAUSED |
PAUSING |
REINITIALIZING |
REINITIALIZING_AWAITING_KILL |
RELAUNCHING |
RESUMING |
RUNNING |
SCHEDULED |
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 NEW
public static final ContainerState LOCALIZING
public static final ContainerState LOCALIZATION_FAILED
public static final ContainerState SCHEDULED
public static final ContainerState RUNNING
public static final ContainerState RELAUNCHING
public static final ContainerState REINITIALIZING
public static final ContainerState REINITIALIZING_AWAITING_KILL
public static final ContainerState EXITED_WITH_SUCCESS
public static final ContainerState EXITED_WITH_FAILURE
public static final ContainerState KILLING
public static final ContainerState CONTAINER_CLEANEDUP_AFTER_KILL
public static final ContainerState CONTAINER_RESOURCES_CLEANINGUP
public static final ContainerState DONE
public static final ContainerState PAUSING
public static final ContainerState PAUSED
public static final ContainerState RESUMING
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 © 2008–2023 Apache Software Foundation. All rights reserved.