Package org.docstr.gradle.plugins.gwt
Interface GwtCompileOptions
- All Known Implementing Classes:
AbstractGwtCompile
,GwtCheck
,GwtCompile
,GwtCompileOptionsImpl
,GwtDraftCompile
public interface GwtCompileOptions
Defines the options known by the
GwtCompile
and
GwtDraftCompile
tasks.-
Method Summary
Modifier and TypeMethodDescriptiongetEa()
getStyle()
void
setClosureFormattedOutput
(Boolean closureFormattedOutput) If set to true, this adds the parameter -XclosureFormattedOutput.void
setCompileReport
(Boolean compileReport) If set to true, this adds the "-compileReport" flag.void
setCompilerMetrics
(Boolean compilerMetrics) If set to true, this adds the "-XcompilerMetrics" flag.void
setDisableAggressiveOptimization
(Boolean disableAggressiveOptimization) If set to true, this adds the "-XdisableAggressiveOptimization" flag.void
setDisableCastChecking
(Boolean disableCastChecking) If set to true, this adds the "-XdisableCastChecking" flag.void
setDisableClassMetadata
(Boolean disableClassMetadata) If set to true, this adds the "-XdisableClassMetadata" flag.void
setDisableGeneratingOnShards
(Boolean disableGeneratingOnShards) If set to true, this adds the "-XdisableGeneratingOnShards" flag.void
setDisableRunAsync
(Boolean disableRunAsync) If set to true, this adds the "-XdisableRunAsync" flag.void
setDisableSoycHtml
(Boolean disableSoycHtml) If set to true, this adds the "-XdisableSoycHtml" flag.void
setDraftCompile
(Boolean draftCompile) If set to true, this adds the "-draftCompile" flag.void
If set to true, this adds the "-ea" (enable assertions) flag.void
setEnforceStrictResources
(Boolean enforceStrictResources) void
setFragmentCount
(Integer fragmentCount) Sets the "-XfragmentCount" option.void
setIncrementalCompileWarnings
(Boolean incrementalCompileWarnings) void
setLocalWorkers
(Integer localWorkers) Sets the "-localWorkers" option.void
setMissingDepsFile
(File missingDepsFile) void
setNamespace
(Namespace namespace) void
setOptimize
(Integer optimize) Sets the "-optimize" option.void
setOverlappingSourceWarnings
(Boolean overlappingSourceWarnings) void
setSaveSource
(Boolean saveSource) void
setSaveSourceOutput
(File saveSourceOutput) void
setSoycDetailed
(Boolean soycDetailed) If set to true, this adds the "-XsoycDetailed" flag.void
If set to true, this adds the "-strict" flag.void
Sets the "-style" option.void
setValidateOnly
(Boolean validateOnly) If set to true, this adds the "-validateOnly" flag.
-
Method Details
-
getLocalWorkers
Integer getLocalWorkers() -
setLocalWorkers
Sets the "-localWorkers" option.- Parameters:
localWorkers
- Whether to add the "-localWorkers" option.
-
getDraftCompile
Boolean getDraftCompile() -
setDraftCompile
If set to true, this adds the "-draftCompile" flag.- Parameters:
draftCompile
- Whether to add the "-draftCompile" flag.
-
getCompileReport
Boolean getCompileReport() -
setCompileReport
If set to true, this adds the "-compileReport" flag.- Parameters:
compileReport
- Whether to add the "-compileReport" flag.
-
getCompilerMetrics
Boolean getCompilerMetrics() -
setCompilerMetrics
If set to true, this adds the "-XcompilerMetrics" flag.- Parameters:
compilerMetrics
- Whether to add the "-XcompilerMetrics" flag.
-
getValidateOnly
Boolean getValidateOnly() -
setValidateOnly
If set to true, this adds the "-validateOnly" flag.- Parameters:
validateOnly
- Whether to add the "-validateOnly" flag.
-
getDisableGeneratingOnShards
Boolean getDisableGeneratingOnShards() -
setDisableGeneratingOnShards
If set to true, this adds the "-XdisableGeneratingOnShards" flag.- Parameters:
disableGeneratingOnShards
- Whether to add the "-XdisableGeneratingOnShards" flag.
-
getOptimize
Integer getOptimize() -
setOptimize
Sets the "-optimize" option.- Parameters:
optimize
- the optimization level to set. Valid values are in the interval [0, 9].
-
getDisableAggressiveOptimization
Boolean getDisableAggressiveOptimization() -
setDisableAggressiveOptimization
If set to true, this adds the "-XdisableAggressiveOptimization" flag.- Parameters:
disableAggressiveOptimization
- Whether to add the "-XdisableAggressiveOptimization" flag.
-
getDisableClassMetadata
Boolean getDisableClassMetadata() -
setDisableClassMetadata
If set to true, this adds the "-XdisableClassMetadata" flag.- Parameters:
disableClassMetadata
- Whether to add the "-XdisableClassMetadata" flag.
-
getDisableCastChecking
Boolean getDisableCastChecking() -
setDisableCastChecking
If set to true, this adds the "-XdisableCastChecking" flag.- Parameters:
disableCastChecking
- Whether to add the "-XdisableCastChecking" flag.
-
getEa
Boolean getEa() -
setEa
If set to true, this adds the "-ea" (enable assertions) flag.- Parameters:
ea
- Whether to add the "-ea" (enable assertions) flag.
-
getDisableRunAsync
Boolean getDisableRunAsync() -
setDisableRunAsync
If set to true, this adds the "-XdisableRunAsync" flag.- Parameters:
disableRunAsync
- Whether to add the "-XdisableRunAsync" flag.
-
getStyle
Style getStyle() -
setStyle
Sets the "-style" option.- Parameters:
style
- Whether to add the "-style" option.
-
getSoycDetailed
Boolean getSoycDetailed() -
setSoycDetailed
If set to true, this adds the "-XsoycDetailed" flag.- Parameters:
soycDetailed
- Whether to addthe "-XsoycDetailed" flag.
-
getStrict
Boolean getStrict() -
setStrict
If set to true, this adds the "-strict" flag.- Parameters:
strict
- Whether to add the "-strict" flag.
-
getDisableSoycHtml
Boolean getDisableSoycHtml() -
setDisableSoycHtml
If set to true, this adds the "-XdisableSoycHtml" flag.- Parameters:
disableSoycHtml
- Whether to add the "-XdisableSoycHtml" flag.
-
getFragmentCount
Integer getFragmentCount() -
setFragmentCount
Sets the "-XfragmentCount" option.- Parameters:
fragmentCount
- The "-XfragmentCount" option specified.
-
getMissingDepsFile
File getMissingDepsFile() -
setMissingDepsFile
- Parameters:
missingDepsFile
- the missingDepsFile to set
-
getNamespace
Namespace getNamespace() -
setNamespace
- Parameters:
namespace
- the namespace to set
-
getEnforceStrictResources
Boolean getEnforceStrictResources() -
setEnforceStrictResources
- Parameters:
enforceStrictResources
- the enforceStrictResources to set
-
getIncrementalCompileWarnings
Boolean getIncrementalCompileWarnings() -
setIncrementalCompileWarnings
- Parameters:
incrementalCompileWarnings
- the incrementalCompileWarnings to set
-
getOverlappingSourceWarnings
Boolean getOverlappingSourceWarnings() -
setOverlappingSourceWarnings
- Parameters:
overlappingSourceWarnings
- the overlappingSourceWarnings to set
-
getSaveSource
Boolean getSaveSource() -
setSaveSource
- Parameters:
saveSource
- the saveSource to set
-
getSaveSourceOutput
File getSaveSourceOutput() -
setSaveSourceOutput
- Parameters:
saveSourceOutput
- the saveSourceOutput to set
-
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.
-