Package org.docstr.gradle.plugins.gwt
Interface GwtSuperDevOptions
-
- All Known Implementing Classes:
GwtSuperDev,GwtSuperDevOptionsImpl
public interface GwtSuperDevOptionsDefines the options known by theGwtSuperDevtask.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleangetAllowMissingSrc()java.lang.StringgetBindAddress()java.lang.BooleangetClosureFormattedOutput()java.lang.BooleangetCompileTest()java.lang.IntegergetCompileTestRecompiles()java.lang.BooleangetFailOnError()java.io.FilegetLauncherDir()java.lang.BooleangetNoPrecompile()java.lang.IntegergetPort()StylegetStyle()java.lang.BooleangetUseClasspathForSrc()java.io.FilegetWorkDir()voidsetAllowMissingSrc(java.lang.Boolean allowMissingSrc)voidsetBindAddress(java.lang.String bindAddress)Sets the "-bindAddress" option that defines to which network ip the socket should be bound.voidsetClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)If set to true, this adds the parameter -XclosureFormattedOutput.voidsetCompileTest(java.lang.Boolean compileTest)voidsetCompileTestRecompiles(java.lang.Integer compileTestRecompiles)voidsetFailOnError(java.lang.Boolean failOnError)voidsetLauncherDir(java.io.File launcherDir)voidsetNoPrecompile(java.lang.Boolean noPrecompile)Sets the "-noprecompile" flag that causes the Super Dev Mode to not compile the modules on startup but only at access.voidsetPort(java.lang.Integer port)Sets the "-port" option that defines to which port the socket should be bound.voidsetStyle(Style style)voidsetUseClasspathForSrc(java.lang.Boolean useClasspathForSrc)If set to true, this causes the src to be prepended to the classpath instead of using -src parameters.voidsetWorkDir(java.io.File workDir)Sets the "-workDir" option that specifies the directory where the Super Dev Mode outputs its generated files.
-
-
-
Method Detail
-
getWorkDir
java.io.File getWorkDir()
- Returns:
- the workDir
- See Also:
setWorkDir(File)
-
setWorkDir
void setWorkDir(java.io.File workDir)
Sets the "-workDir" option that specifies the directory where the Super Dev Mode outputs its generated files.- Parameters:
workDir- the workDir to set
-
getBindAddress
java.lang.String getBindAddress()
-
setBindAddress
void setBindAddress(java.lang.String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the socket should be bound. This is relevant if the Super Dev Mode should be reachable from a remote host.- Parameters:
bindAddress- the bindAddress to set
-
getPort
java.lang.Integer getPort()
-
setPort
void setPort(java.lang.Integer port)
Sets the "-port" option that defines to which port the socket should be bound.- Parameters:
port- the port to set. Valid range is [1; 65535].
-
getNoPrecompile
java.lang.Boolean getNoPrecompile()
-
setNoPrecompile
void setNoPrecompile(java.lang.Boolean noPrecompile)
Sets the "-noprecompile" flag that causes the Super Dev Mode to not compile the modules on startup but only at access.- Parameters:
noPrecompile- true if the noPrecompile flag should be set, false otherwise
-
setUseClasspathForSrc
void setUseClasspathForSrc(java.lang.Boolean useClasspathForSrc)
If set to true, this causes the src to be prepended to the classpath instead of using -src parameters. This is necessary due to a bug in GWT 2.5/2.6.- Parameters:
useClasspathForSrc- true to add the src to the classpath, false to use -src parameters- See Also:
- https://code.google.com/p/google-web-toolkit/issues/detail?id=7750
-
getUseClasspathForSrc
java.lang.Boolean getUseClasspathForSrc()
-
setLauncherDir
void setLauncherDir(java.io.File launcherDir)
-
getLauncherDir
java.io.File getLauncherDir()
-
setCompileTestRecompiles
void setCompileTestRecompiles(java.lang.Integer compileTestRecompiles)
-
getCompileTestRecompiles
java.lang.Integer getCompileTestRecompiles()
-
setCompileTest
void setCompileTest(java.lang.Boolean compileTest)
-
getCompileTest
java.lang.Boolean getCompileTest()
-
setFailOnError
void setFailOnError(java.lang.Boolean failOnError)
-
getFailOnError
java.lang.Boolean getFailOnError()
-
setAllowMissingSrc
void setAllowMissingSrc(java.lang.Boolean allowMissingSrc)
-
getAllowMissingSrc
java.lang.Boolean getAllowMissingSrc()
-
getClosureFormattedOutput
java.lang.Boolean getClosureFormattedOutput()
-
setClosureFormattedOutput
void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
If set to true, this adds the parameter -XclosureFormattedOutput. If set to false, this adds the parameter -XnoclosureFormattedOutput. Added in GWT 2.8.- Parameters:
closureFormattedOutput- The closure formatted output.
-
getStyle
Style getStyle()
-
setStyle
void setStyle(Style style)
-
-