public class GwtDev extends AbstractGwtTask implements GwtDevOptions
Task.NamerTASK_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(GwtDevOptions options) |
Boolean |
getAutoCodeServerPort() |
Boolean |
getAutoPort() |
String |
getBindAddress() |
String |
getBlacklist() |
Integer |
getCodeServerPort() |
File |
getLogDir() |
Boolean |
getNoserver() |
Integer |
getPort() |
String |
getServer() |
String |
getStartupUrl() |
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 |
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 |
setStartupUrl(String startupUrl)
Sets the "-startupUrl" option.
|
void |
setWhitelist(String whitelist)
Sets the "-whitelist" option
|
getCacheDir, getDeploy, getExtra, getGen, getLogLevel, getWar, getWorkDir, setCacheDir, setDeploy, setExtra, setGen, setLogLevel, setWar, setWorkDirargIfEnabled, argIfSet, dirArgIfSet, exec, getModules, getSrc, isDevTask, prependSrcToClasspath, setModules, setSrcargs, args, bootstrapClasspath, classpath, copyTo, copyTo, environment, environment, executable, getAllJvmArgs, getArgs, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecutable, getJvmArgs, getMain, getMaxHeapSize, getMinHeapSize, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setArgs, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setIgnoreExitValue, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, systemProperties, systemProperty, workingDirconventionMapping, conventionMapping, getConventionMappingaddValidator, 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, getStandardOutputCapture, getState, getStateInternal, 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, toStringprotected void addArgs()
AbstractGwtActionTaskaddArgs in class AbstractGwtTaskprotected void configure(GwtDevOptions options)
public Boolean getNoserver()
getNoserver in interface GwtDevOptionspublic void setNoserver(Boolean noserver)
setNoserver in interface GwtDevOptionsnoserver - true if the "-noserver" flag should be set.public Integer getPort()
getPort in interface GwtDevOptionspublic void setPort(Integer port)
setPort in interface GwtDevOptionsport - Valid range is [1, 65535]public String getWhitelist()
getWhitelist in interface GwtDevOptionspublic void setWhitelist(String whitelist)
setWhitelist in interface GwtDevOptionspublic String getBlacklist()
getBlacklist in interface GwtDevOptionspublic void setBlacklist(String blacklist)
setBlacklist in interface GwtDevOptionspublic File getLogDir()
getLogDir in interface GwtDevOptionspublic void setLogDir(File logDir)
setLogDir in interface GwtDevOptionspublic String getBindAddress()
getBindAddress in interface GwtDevOptionspublic void setBindAddress(String bindAddress)
setBindAddress in interface GwtDevOptionspublic Integer getCodeServerPort()
getCodeServerPort in interface GwtDevOptionspublic void setCodeServerPort(Integer codeServerPort)
setCodeServerPort in interface GwtDevOptionscodeServerPort - Valid range is [1, 65535]public String getServer()
getServer in interface GwtDevOptionspublic void setServer(String server)
setServer in interface GwtDevOptionspublic String getStartupUrl()
getStartupUrl in interface GwtDevOptionspublic void setStartupUrl(String startupUrl)
setStartupUrl in interface GwtDevOptionspublic Boolean getAutoPort()
getAutoPort in interface GwtDevOptionspublic void setAutoPort(Boolean autoPort)
setAutoPort in interface GwtDevOptionspublic Boolean getAutoCodeServerPort()
getAutoCodeServerPort in interface GwtDevOptionspublic void setAutoCodeServerPort(Boolean autoCodeServerPort)
setAutoCodeServerPort in interface GwtDevOptions