public static enum DockerStage.DockerImages extends java.lang.Enum<DockerStage.DockerImages>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LATEST |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getImageWithDefaultVersion() |
java.lang.String |
getImageWithLatestVersion() |
java.lang.String |
getImageWithParticularVersion(java.lang.String version) |
static DockerStage.DockerImages |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DockerStage.DockerImages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockerStage.DockerImages UBUNTU
public static final DockerStage.DockerImages OPENJDK
public static final java.lang.String LATEST
public static DockerStage.DockerImages[] values()
for (DockerStage.DockerImages c : DockerStage.DockerImages.values()) System.out.println(c);
public static DockerStage.DockerImages valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getImageWithDefaultVersion()
public java.lang.String getImageWithLatestVersion()
public java.lang.String getImageWithParticularVersion(java.lang.String version)