public enum PodStatus extends Enum<PodStatus>
Enum Constant and Description |
---|
PENDING
The pod has terminated, but there's PENDING work to be done.
|
RUNNING
The pod has been marked as RUNNING.
|
STOPPED
The pod has been gracefully STOPPED.
|
Modifier and Type | Method and Description |
---|---|
static PodStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PodStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PodStatus RUNNING
public static final PodStatus PENDING
public static final PodStatus STOPPED
public static PodStatus[] values()
for (PodStatus c : PodStatus.values()) System.out.println(c);
public static PodStatus 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 © 2019. All rights reserved.