public static enum Constants.DeploymentStatus extends Enum<Constants.DeploymentStatus>
Enum Constant and Description |
---|
CANCELED |
CREATED |
FAILED |
RUNNING |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static Constants.DeploymentStatus |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Constants.DeploymentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.DeploymentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.DeploymentStatus CREATED
public static final Constants.DeploymentStatus RUNNING
public static final Constants.DeploymentStatus SUCCESS
public static final Constants.DeploymentStatus FAILED
public static final Constants.DeploymentStatus CANCELED
public static Constants.DeploymentStatus[] values()
for (Constants.DeploymentStatus c : Constants.DeploymentStatus.values()) System.out.println(c);
public static Constants.DeploymentStatus 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 nullpublic static Constants.DeploymentStatus forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Constants.DeploymentStatus>
Copyright © 2020. All rights reserved.