public enum DeploymentColor extends Enum<DeploymentColor>
| Modifier and Type | Method and Description |
|---|---|
static DeploymentColor |
fromString(String currentColor) |
String |
getColor() |
static DeploymentColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeploymentColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeploymentColor GREEN
public static final DeploymentColor BLUE
public static final DeploymentColor WHITE
public static DeploymentColor[] values()
for (DeploymentColor c : DeploymentColor.values()) System.out.println(c);
public static DeploymentColor 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 String getColor()
public static DeploymentColor fromString(String currentColor)
Copyright © 2020 LeanIX GmbH. All rights reserved.