public class GwtDevOptionsImpl extends Object implements GwtDevOptions
GwtDevOptions
.Constructor and Description |
---|
GwtDevOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoCodeServerPort() |
Boolean |
getAutoPort() |
String |
getBindAddress() |
String |
getBlacklist() |
Integer |
getCodeServerPort() |
File |
getLogDir() |
MethodNameDisplayMode |
getMethodNameDisplayMode() |
Boolean |
getNoserver() |
Integer |
getPort() |
String |
getServer() |
Boolean |
getStartServer() |
String |
getStartupUrl() |
Boolean |
getSuperDevMode() |
String |
getWhitelist() |
void |
setAutoCodeServerPort(Boolean autoCodeServerPort)
Is set to true, this causes the "-codeServerPort" to be automatically assigned using a free port.
|
void |
setAutoPort(Boolean autoPort)
Is set to true, this causes the "-port" to be automatically assigned using a free port.
|
void |
setBindAddress(String bindAddress)
Sets the "-bindAddress" option.
|
void |
setBlacklist(String blacklist)
Sets the "-blacklist" option.
|
void |
setCodeServerPort(Integer codeServerPort)
Sets the "-codeServerPort" option.
|
void |
setLogDir(File logDir)
Sets the "-logdir" option.
|
void |
setMethodNameDisplayMode(MethodNameDisplayMode methodNameDisplayMode)
If set to true, this causes the "-XmethodNameDisplayMode" (added in GWT 2.7) parameter to be added.
|
void |
setNoserver(Boolean noserver)
Sets the "-noserver" flag that causes the GWT dev mode to not start the
internal webserver (jetty) but only the code server that runs the GWT
client part.
|
void |
setPort(Integer port)
Sets the "-port" option.
|
void |
setServer(String server)
Sets the "-server" option.
|
void |
setStartServer(Boolean startServer)
Is set to true, this causes the "-startServer" (added in GWT 2.7) flag to be added.
|
void |
setStartupUrl(String startupUrl)
Sets the "-startupUrl" option.
|
void |
setSuperDevMode(Boolean superDevMode)
Is set to true, this causes the "-superDevMode" (added in GWT 2.7) flag to be added.
|
void |
setWhitelist(String whitelist)
Sets the "-whitelist" option
|
public Boolean getNoserver()
getNoserver
in interface GwtDevOptions
public void setNoserver(Boolean noserver)
setNoserver
in interface GwtDevOptions
noserver
- true if the "-noserver" flag should be set.public Integer getPort()
getPort
in interface GwtDevOptions
public void setPort(Integer port)
setPort
in interface GwtDevOptions
port
- Valid range is [1, 65535]public String getWhitelist()
getWhitelist
in interface GwtDevOptions
public void setWhitelist(String whitelist)
setWhitelist
in interface GwtDevOptions
public String getBlacklist()
getBlacklist
in interface GwtDevOptions
public void setBlacklist(String blacklist)
setBlacklist
in interface GwtDevOptions
public File getLogDir()
getLogDir
in interface GwtDevOptions
public void setLogDir(File logDir)
setLogDir
in interface GwtDevOptions
public String getBindAddress()
getBindAddress
in interface GwtDevOptions
public void setBindAddress(String bindAddress)
setBindAddress
in interface GwtDevOptions
public Integer getCodeServerPort()
getCodeServerPort
in interface GwtDevOptions
public void setCodeServerPort(Integer codeServerPort)
setCodeServerPort
in interface GwtDevOptions
codeServerPort
- Valid range is [1, 65535]public String getServer()
getServer
in interface GwtDevOptions
public void setServer(String server)
setServer
in interface GwtDevOptions
public String getStartupUrl()
getStartupUrl
in interface GwtDevOptions
public void setStartupUrl(String startupUrl)
setStartupUrl
in interface GwtDevOptions
public Boolean getAutoPort()
getAutoPort
in interface GwtDevOptions
public void setAutoPort(Boolean autoPort)
setAutoPort
in interface GwtDevOptions
public Boolean getAutoCodeServerPort()
getAutoCodeServerPort
in interface GwtDevOptions
public void setAutoCodeServerPort(Boolean autoCodeServerPort)
setAutoCodeServerPort
in interface GwtDevOptions
public Boolean getSuperDevMode()
getSuperDevMode
in interface GwtDevOptions
public void setSuperDevMode(Boolean superDevMode)
setSuperDevMode
in interface GwtDevOptions
public Boolean getStartServer()
getStartServer
in interface GwtDevOptions
public void setStartServer(Boolean startServer)
setStartServer
in interface GwtDevOptions
public MethodNameDisplayMode getMethodNameDisplayMode()
getMethodNameDisplayMode
in interface GwtDevOptions
public void setMethodNameDisplayMode(MethodNameDisplayMode methodNameDisplayMode)
setMethodNameDisplayMode
in interface GwtDevOptions