Package org.docstr.gradle.plugins.gwt
Interface GwtSuperDevOptions
-
- All Known Implementing Classes:
GwtSuperDev
,GwtSuperDevOptionsImpl
public interface GwtSuperDevOptions
Defines the options known by theGwtSuperDev
task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Boolean
getAllowMissingSrc()
java.lang.String
getBindAddress()
java.lang.Boolean
getClosureFormattedOutput()
java.lang.Boolean
getCompileTest()
java.lang.Integer
getCompileTestRecompiles()
java.lang.Boolean
getFailOnError()
java.io.File
getLauncherDir()
java.lang.Boolean
getNoPrecompile()
java.lang.Integer
getPort()
Style
getStyle()
java.lang.Boolean
getUseClasspathForSrc()
java.io.File
getWorkDir()
void
setAllowMissingSrc(java.lang.Boolean allowMissingSrc)
void
setBindAddress(java.lang.String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the socket should be bound.void
setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
If set to true, this adds the parameter -XclosureFormattedOutput.void
setCompileTest(java.lang.Boolean compileTest)
void
setCompileTestRecompiles(java.lang.Integer compileTestRecompiles)
void
setFailOnError(java.lang.Boolean failOnError)
void
setLauncherDir(java.io.File launcherDir)
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.void
setPort(java.lang.Integer port)
Sets the "-port" option that defines to which port the socket should be bound.void
setStyle(Style style)
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.void
setWorkDir(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)
-
-