public class GwtDev extends AbstractGwtTask implements GwtDevOptions
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
GwtDev() |
Modifier and Type | Method and Description |
---|---|
protected void |
addArgs()
Called directly before executing this task.
|
protected void |
configure(GwtPluginExtension gwtPluginExtension) |
Boolean |
getAutoCodeServerPort() |
Boolean |
getAutoPort() |
String |
getBindAddress() |
String |
getBlacklist() |
Integer |
getCodeServerPort() |
File |
getLogDir() |
MethodNameDisplayMode |
getMethodNameDisplayMode() |
String |
getModulePathPrefix() |
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 |
setModulePathPrefix(String modulePathPrefix)
Sets the "-modulePathPrefix" parameter introduced in GWT 2.7.
|
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
|
getCacheDir, getDeploy, getExtra, getGen, getWar, getWorkDir, setCacheDir, setDeploy, setExtra, setGen, setWar, setWorkDir
argIfEnabled, argIfSet, argOnOff, args, dirArgIfSet, exec, getClasspath, getIncremental, getJsInteropMode, getLogLevel, getMaxHeapSize, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, jvmArgs, prependSrcToClasspath, setClasspath, setDebug, setIncremental, setJsInteropMode, setLogLevel, setMaxHeapSize, setMinHeapSize, setModules, setSourceLevel, setSrc
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
protected void addArgs()
AbstractGwtActionTask
addArgs
in class AbstractGwtTask
protected void configure(GwtPluginExtension gwtPluginExtension)
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
public String getModulePathPrefix()
public void setModulePathPrefix(String modulePathPrefix)
modulePathPrefix
- the path prefix where the GWT modules are located relative to the war root.