public class GwtSuperDev extends AbstractGwtActionTask implements GwtSuperDevOptions
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
GwtSuperDev() |
Modifier and Type | Method and Description |
---|---|
protected void |
addArgs()
Called directly before executing this task.
|
protected void |
configure(GwtSuperDevOptions options) |
String |
getBindAddress() |
Boolean |
getNoPrecompile() |
Integer |
getPort() |
File |
getWorkDir() |
protected boolean |
prependSrcToClasspath()
If true this causes that the src is prepended to the classpath.
|
void |
setBindAddress(String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the socket should be bound.
|
void |
setNoPrecompile(Boolean noPrecompile)
Sets the "-noprecompile" flag that causes the Super Dev Mode to not compile the
modules on startup but only at access.
|
void |
setPort(Integer port)
Sets the "-port" option that defines to which port the socket should be bound.
|
void |
setWorkDir(File workDir)
Sets the "-workDir" option that specifies the directory where the Super Dev Mode outputs its
generated files.
|
argIfEnabled, argIfSet, args, dirArgIfSet, exec, getClasspath, getMaxHeapSize, getMinHeapSize, getModules, getSrc, isDebug, isDevTask, jvmArgs, setClasspath, setDebug, setMaxHeapSize, setMinHeapSize, setModules, 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, 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, setShouldRunAfter, shouldRunAfter, toString
protected void addArgs()
AbstractGwtActionTask
addArgs
in class AbstractGwtActionTask
protected void configure(GwtSuperDevOptions options)
protected boolean prependSrcToClasspath()
AbstractGwtActionTask
prependSrcToClasspath
in class AbstractGwtActionTask
public File getWorkDir()
getWorkDir
in interface GwtSuperDevOptions
GwtSuperDevOptions.setWorkDir(File)
public void setWorkDir(File workDir)
setWorkDir
in interface GwtSuperDevOptions
workDir
- the workDir to setpublic String getBindAddress()
getBindAddress
in interface GwtSuperDevOptions
public void setBindAddress(String bindAddress)
setBindAddress
in interface GwtSuperDevOptions
bindAddress
- the bindAddress to setpublic Integer getPort()
getPort
in interface GwtSuperDevOptions
public void setPort(Integer port)
setPort
in interface GwtSuperDevOptions
port
- the port to set. Valid range is [1; 65535].public Boolean getNoPrecompile()
getNoPrecompile
in interface GwtSuperDevOptions
public void setNoPrecompile(Boolean noPrecompile)
setNoPrecompile
in interface GwtSuperDevOptions
noPrecompile
- true if the noPrecompile flag should be set, false otherwise