public enum ServletEngine extends Enum<ServletEngine>
Enum Constant and Description |
---|
EXTERNAL
Represents an external Servlet Engine already configured and running (we won't start or stop it).
|
JETTY
Represents the Jetty Servlet engine (running inside Docker).
|
JETTY_STANDALONE
Represents the Jetty Servlet engine but running outside of Docker.
|
TOMCAT
Represents the Tomcat Servlet engine.
|
WILDFLY
Represents the JBoss Wildfly engine.
|
Modifier and Type | Method and Description |
---|---|
String |
getDockerImageName() |
String |
getHostIP() |
String |
getInternalIP() |
int |
getInternalPort() |
String |
getIP() |
String |
getPermanentDirectory() |
int |
getPort() |
boolean |
isOutsideDocker() |
void |
setIP(String ip) |
void |
setPort(int port) |
static ServletEngine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletEngine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServletEngine TOMCAT
public static final ServletEngine JETTY
public static final ServletEngine JETTY_STANDALONE
public static final ServletEngine WILDFLY
public static final ServletEngine EXTERNAL
public static ServletEngine[] values()
for (ServletEngine c : ServletEngine.values()) System.out.println(c);
public static ServletEngine 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 boolean isOutsideDocker()
public String getIP()
public void setPort(int port)
port
- see getPort()
public int getPort()
public String getHostIP()
public String getInternalIP()
public int getInternalPort()
public String getPermanentDirectory()
public String getDockerImageName()
Copyright © 2004–2021 XWiki. All rights reserved.