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) |
Boolean |
getAllowMissingSrc() |
String |
getBindAddress() |
Boolean |
getCompileTest() |
Integer |
getCompileTestRecompiles() |
Boolean |
getFailOnError() |
File |
getLauncherDir() |
Boolean |
getNoPrecompile() |
Integer |
getPort() |
Boolean |
getUseClasspathForSrc() |
File |
getWorkDir() |
protected boolean |
prependSrcToClasspath()
If true this causes that the src is prepended to the classpath.
|
void |
setAllowMissingSrc(Boolean allowMissingSrc) |
void |
setBindAddress(String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the socket should be bound.
|
void |
setCompileTest(Boolean compileTest) |
void |
setCompileTestRecompiles(Integer compileTestRecompiles) |
void |
setFailOnError(Boolean failOnError) |
void |
setLauncherDir(File launcherDir) |
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 |
setUseClasspathForSrc(Boolean useClasspathForSrc)
If set to true, this causes the src to be prepended to the classpath instead of using -src parameters.
|
void |
setWorkDir(File workDir)
Sets the "-workDir" option that specifies the directory where the Super Dev Mode outputs its
generated files.
|
argIfEnabled, argIfSet, argOnOff, args, dirArgIfSet, exec, getClasspath, getIncremental, getJsInteropMode, getLogLevel, getMaxHeapSize, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, jvmArgs, 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 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 otherwisepublic void setUseClasspathForSrc(Boolean useClasspathForSrc)
setUseClasspathForSrc
in interface GwtSuperDevOptions
useClasspathForSrc
- true to add the src to the classpath, false to use -src parameterspublic Boolean getUseClasspathForSrc()
getUseClasspathForSrc
in interface GwtSuperDevOptions
public void setLauncherDir(File launcherDir)
setLauncherDir
in interface GwtSuperDevOptions
public File getLauncherDir()
getLauncherDir
in interface GwtSuperDevOptions
public void setCompileTestRecompiles(Integer compileTestRecompiles)
setCompileTestRecompiles
in interface GwtSuperDevOptions
public Integer getCompileTestRecompiles()
getCompileTestRecompiles
in interface GwtSuperDevOptions
public void setCompileTest(Boolean compileTest)
setCompileTest
in interface GwtSuperDevOptions
public Boolean getCompileTest()
getCompileTest
in interface GwtSuperDevOptions
public void setFailOnError(Boolean failOnError)
setFailOnError
in interface GwtSuperDevOptions
public Boolean getFailOnError()
getFailOnError
in interface GwtSuperDevOptions
public void setAllowMissingSrc(Boolean allowMissingSrc)
setAllowMissingSrc
in interface GwtSuperDevOptions
public Boolean getAllowMissingSrc()
getAllowMissingSrc
in interface GwtSuperDevOptions