Package org.docstr.gradle.plugins.gwt
Interface GwtSuperDevOptions
- All Known Implementing Classes:
GwtSuperDev
,GwtSuperDevOptionsImpl
public interface GwtSuperDevOptions
Defines the options known by the
GwtSuperDev
task.-
Method Summary
Modifier and TypeMethodDescriptiongetPort()
void
setAllowMissingSrc
(Boolean allowMissingSrc) void
setBindAddress
(String bindAddress) Sets the "-bindAddress" option that defines to which network ip the socket should be bound.void
setClosureFormattedOutput
(Boolean closureFormattedOutput) If set to true, this adds the parameter -XclosureFormattedOutput.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
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.
-
Method Details
-
getWorkDir
File getWorkDir()- Returns:
- the workDir
- See Also:
-
setWorkDir
Sets the "-workDir" option that specifies the directory where the Super Dev Mode outputs its generated files.- Parameters:
workDir
- the workDir to set
-
getBindAddress
String getBindAddress() -
setBindAddress
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
Integer getPort() -
setPort
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
Boolean getNoPrecompile() -
setNoPrecompile
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
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:
-
getUseClasspathForSrc
Boolean getUseClasspathForSrc() -
setLauncherDir
-
getLauncherDir
File getLauncherDir() -
setCompileTestRecompiles
-
getCompileTestRecompiles
Integer getCompileTestRecompiles() -
setCompileTest
-
getCompileTest
Boolean getCompileTest() -
setFailOnError
-
getFailOnError
Boolean getFailOnError() -
setAllowMissingSrc
-
getAllowMissingSrc
Boolean getAllowMissingSrc() -
getClosureFormattedOutput
Boolean getClosureFormattedOutput() -
setClosureFormattedOutput
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.
-