Enum DockerServer
- java.lang.Object
-
- java.lang.Enum<DockerServer>
-
- org.apache.myfaces.tobago.example.demo.DockerServer
-
- All Implemented Interfaces:
Serializable,Comparable<DockerServer>
public enum DockerServer extends Enum<DockerServer> implements Serializable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDisplayName()StringgetImage()StringgetMavenOptions()intgetPort()intgetSslPort()String[]getTags()StringgetVolume()booleanisSsl()static DockerServervalueOf(String name)Returns the enum constant of this type with the specified name.static DockerServer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
tomee
public static final DockerServer tomee
-
liberty
public static final DockerServer liberty
-
wildfly
public static final DockerServer wildfly
-
-
Method Detail
-
values
public static DockerServer[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DockerServer c : DockerServer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DockerServer valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
public String getDisplayName()
-
getVolume
public String getVolume()
-
getPort
public int getPort()
-
getSslPort
public int getSslPort()
-
getImage
public String getImage()
-
getTags
public String[] getTags()
-
isSsl
public boolean isSsl()
-
getMavenOptions
public String getMavenOptions()
-
-