public enum DeploymentStrategy extends Enum<DeploymentStrategy>
Deployment| Enum Constant and Description |
|---|
ROLLING
The rolling strategy
|
| Modifier and Type | Method and Description |
|---|---|
static DeploymentStrategy |
from(String s) |
String |
getValue() |
String |
toString() |
static DeploymentStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeploymentStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeploymentStrategy ROLLING
public static DeploymentStrategy[] values()
for (DeploymentStrategy c : DeploymentStrategy.values()) System.out.println(c);
public static DeploymentStrategy 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 DeploymentStrategy from(String s)
public String getValue()
public String toString()
toString in class Enum<DeploymentStrategy>Copyright © 2020. All rights reserved.