public enum DeploymentStateResource extends Enum<DeploymentStateResource>
Enum Constant and Description |
---|
DEPLOYED |
DEPLOYING |
ERROR |
FAILED |
PARTIAL |
UNDEPLOYED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static DeploymentStateResource |
fromKey(String deploymentStateResourceKey) |
String |
getDescription() |
String |
getDisplayName() |
String |
getKey() |
static DeploymentStateResource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeploymentStateResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeploymentStateResource DEPLOYING
public static final DeploymentStateResource DEPLOYED
public static final DeploymentStateResource UNDEPLOYED
public static final DeploymentStateResource PARTIAL
public static final DeploymentStateResource FAILED
public static final DeploymentStateResource ERROR
public static final DeploymentStateResource UNKNOWN
public static DeploymentStateResource[] values()
for (DeploymentStateResource c : DeploymentStateResource.values()) System.out.println(c);
public static DeploymentStateResource 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 DeploymentStateResource fromKey(String deploymentStateResourceKey)
public String getKey()
public String getDisplayName()
public String getDescription()
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.