Package org.docstr.gradle.plugins.gwt
Interface GwtCompileOptions
-
- All Known Implementing Classes:
AbstractGwtCompile,GwtCheck,GwtCompile,GwtCompileOptionsImpl,GwtDraftCompile
public interface GwtCompileOptionsDefines the options known by theGwtCompileandGwtDraftCompiletasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleangetClosureFormattedOutput()java.lang.BooleangetCompileReport()java.lang.BooleangetCompilerMetrics()java.lang.BooleangetDisableAggressiveOptimization()java.lang.BooleangetDisableCastChecking()java.lang.BooleangetDisableClassMetadata()java.lang.BooleangetDisableGeneratingOnShards()java.lang.BooleangetDisableRunAsync()java.lang.BooleangetDisableSoycHtml()java.lang.BooleangetDraftCompile()java.lang.BooleangetEa()java.lang.BooleangetEnforceStrictResources()java.lang.IntegergetFragmentCount()java.lang.BooleangetIncrementalCompileWarnings()java.lang.IntegergetLocalWorkers()java.io.FilegetMissingDepsFile()NamespacegetNamespace()java.lang.IntegergetOptimize()java.lang.BooleangetOverlappingSourceWarnings()java.lang.BooleangetSaveSource()java.io.FilegetSaveSourceOutput()java.lang.BooleangetSoycDetailed()java.lang.BooleangetStrict()StylegetStyle()java.lang.BooleangetValidateOnly()voidsetClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)If set to true, this adds the parameter -XclosureFormattedOutput.voidsetCompileReport(java.lang.Boolean compileReport)If set to true, this adds the "-compileReport" flag.voidsetCompilerMetrics(java.lang.Boolean compilerMetrics)If set to true, this adds the "-XcompilerMetrics" flag.voidsetDisableAggressiveOptimization(java.lang.Boolean disableAggressiveOptimization)If set to true, this adds the "-XdisableAggressiveOptimization" flag.voidsetDisableCastChecking(java.lang.Boolean disableCastChecking)If set to true, this adds the "-XdisableCastChecking" flag.voidsetDisableClassMetadata(java.lang.Boolean disableClassMetadata)If set to true, this adds the "-XdisableClassMetadata" flag.voidsetDisableGeneratingOnShards(java.lang.Boolean disableGeneratingOnShards)If set to true, this adds the "-XdisableGeneratingOnShards" flag.voidsetDisableRunAsync(java.lang.Boolean disableRunAsync)If set to true, this adds the "-XdisableRunAsync" flag.voidsetDisableSoycHtml(java.lang.Boolean disableSoycHtml)If set to true, this adds the "-XdisableSoycHtml" flag.voidsetDraftCompile(java.lang.Boolean draftCompile)If set to true, this adds the "-draftCompile" flag.voidsetEa(java.lang.Boolean ea)If set to true, this adds the "-ea" (enable assertions) flag.voidsetEnforceStrictResources(java.lang.Boolean enforceStrictResources)voidsetFragmentCount(java.lang.Integer fragmentCount)Sets the "-XfragmentCount" option.voidsetIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings)voidsetLocalWorkers(java.lang.Integer localWorkers)Sets the "-localWorkers" option.voidsetMissingDepsFile(java.io.File missingDepsFile)voidsetNamespace(Namespace namespace)voidsetOptimize(java.lang.Integer optimize)Sets the "-optimize" option.voidsetOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings)voidsetSaveSource(java.lang.Boolean saveSource)voidsetSaveSourceOutput(java.io.File saveSourceOutput)voidsetSoycDetailed(java.lang.Boolean soycDetailed)If set to true, this adds the "-XsoycDetailed" flag.voidsetStrict(java.lang.Boolean strict)If set to true, this adds the "-strict" flag.voidsetStyle(Style style)Sets the "-style" option.voidsetValidateOnly(java.lang.Boolean validateOnly)If set to true, this adds the "-validateOnly" flag.
-
-
-
Method Detail
-
getLocalWorkers
java.lang.Integer getLocalWorkers()
-
setLocalWorkers
void setLocalWorkers(java.lang.Integer localWorkers)
Sets the "-localWorkers" option.- Parameters:
localWorkers- Whether to add the "-localWorkers" option.
-
getDraftCompile
java.lang.Boolean getDraftCompile()
-
setDraftCompile
void setDraftCompile(java.lang.Boolean draftCompile)
If set to true, this adds the "-draftCompile" flag.- Parameters:
draftCompile- Whether to add the "-draftCompile" flag.
-
getCompileReport
java.lang.Boolean getCompileReport()
-
setCompileReport
void setCompileReport(java.lang.Boolean compileReport)
If set to true, this adds the "-compileReport" flag.- Parameters:
compileReport- Whether to add the "-compileReport" flag.
-
getCompilerMetrics
java.lang.Boolean getCompilerMetrics()
-
setCompilerMetrics
void setCompilerMetrics(java.lang.Boolean compilerMetrics)
If set to true, this adds the "-XcompilerMetrics" flag.- Parameters:
compilerMetrics- Whether to add the "-XcompilerMetrics" flag.
-
getValidateOnly
java.lang.Boolean getValidateOnly()
-
setValidateOnly
void setValidateOnly(java.lang.Boolean validateOnly)
If set to true, this adds the "-validateOnly" flag.- Parameters:
validateOnly- Whether to add the "-validateOnly" flag.
-
getDisableGeneratingOnShards
java.lang.Boolean getDisableGeneratingOnShards()
-
setDisableGeneratingOnShards
void setDisableGeneratingOnShards(java.lang.Boolean disableGeneratingOnShards)
If set to true, this adds the "-XdisableGeneratingOnShards" flag.- Parameters:
disableGeneratingOnShards- Whether to add the "-XdisableGeneratingOnShards" flag.
-
getOptimize
java.lang.Integer getOptimize()
-
setOptimize
void setOptimize(java.lang.Integer optimize)
Sets the "-optimize" option.- Parameters:
optimize- the optimization level to set. Valid values are in the interval [0, 9].
-
getDisableAggressiveOptimization
java.lang.Boolean getDisableAggressiveOptimization()
-
setDisableAggressiveOptimization
void setDisableAggressiveOptimization(java.lang.Boolean disableAggressiveOptimization)
If set to true, this adds the "-XdisableAggressiveOptimization" flag.- Parameters:
disableAggressiveOptimization- Whether to add the "-XdisableAggressiveOptimization" flag.
-
getDisableClassMetadata
java.lang.Boolean getDisableClassMetadata()
-
setDisableClassMetadata
void setDisableClassMetadata(java.lang.Boolean disableClassMetadata)
If set to true, this adds the "-XdisableClassMetadata" flag.- Parameters:
disableClassMetadata- Whether to add the "-XdisableClassMetadata" flag.
-
getDisableCastChecking
java.lang.Boolean getDisableCastChecking()
-
setDisableCastChecking
void setDisableCastChecking(java.lang.Boolean disableCastChecking)
If set to true, this adds the "-XdisableCastChecking" flag.- Parameters:
disableCastChecking- Whether to add the "-XdisableCastChecking" flag.
-
getEa
java.lang.Boolean getEa()
-
setEa
void setEa(java.lang.Boolean ea)
If set to true, this adds the "-ea" (enable assertions) flag.- Parameters:
ea- Whether to add the "-ea" (enable assertions) flag.
-
getDisableRunAsync
java.lang.Boolean getDisableRunAsync()
-
setDisableRunAsync
void setDisableRunAsync(java.lang.Boolean disableRunAsync)
If set to true, this adds the "-XdisableRunAsync" flag.- Parameters:
disableRunAsync- Whether to add the "-XdisableRunAsync" flag.
-
getStyle
Style getStyle()
-
setStyle
void setStyle(Style style)
Sets the "-style" option.- Parameters:
style- Whether to add the "-style" option.
-
getSoycDetailed
java.lang.Boolean getSoycDetailed()
-
setSoycDetailed
void setSoycDetailed(java.lang.Boolean soycDetailed)
If set to true, this adds the "-XsoycDetailed" flag.- Parameters:
soycDetailed- Whether to addthe "-XsoycDetailed" flag.
-
getStrict
java.lang.Boolean getStrict()
-
setStrict
void setStrict(java.lang.Boolean strict)
If set to true, this adds the "-strict" flag.- Parameters:
strict- Whether to add the "-strict" flag.
-
getDisableSoycHtml
java.lang.Boolean getDisableSoycHtml()
-
setDisableSoycHtml
void setDisableSoycHtml(java.lang.Boolean disableSoycHtml)
If set to true, this adds the "-XdisableSoycHtml" flag.- Parameters:
disableSoycHtml- Whether to add the "-XdisableSoycHtml" flag.
-
getFragmentCount
java.lang.Integer getFragmentCount()
-
setFragmentCount
void setFragmentCount(java.lang.Integer fragmentCount)
Sets the "-XfragmentCount" option.- Parameters:
fragmentCount- The "-XfragmentCount" option specified.
-
getMissingDepsFile
java.io.File getMissingDepsFile()
-
setMissingDepsFile
void setMissingDepsFile(java.io.File missingDepsFile)
- Parameters:
missingDepsFile- the missingDepsFile to set
-
getNamespace
Namespace getNamespace()
-
setNamespace
void setNamespace(Namespace namespace)
- Parameters:
namespace- the namespace to set
-
getEnforceStrictResources
java.lang.Boolean getEnforceStrictResources()
-
setEnforceStrictResources
void setEnforceStrictResources(java.lang.Boolean enforceStrictResources)
- Parameters:
enforceStrictResources- the enforceStrictResources to set
-
getIncrementalCompileWarnings
java.lang.Boolean getIncrementalCompileWarnings()
-
setIncrementalCompileWarnings
void setIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings)
- Parameters:
incrementalCompileWarnings- the incrementalCompileWarnings to set
-
getOverlappingSourceWarnings
java.lang.Boolean getOverlappingSourceWarnings()
-
setOverlappingSourceWarnings
void setOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings)
- Parameters:
overlappingSourceWarnings- the overlappingSourceWarnings to set
-
getSaveSource
java.lang.Boolean getSaveSource()
-
setSaveSource
void setSaveSource(java.lang.Boolean saveSource)
- Parameters:
saveSource- the saveSource to set
-
getSaveSourceOutput
java.io.File getSaveSourceOutput()
-
setSaveSourceOutput
void setSaveSourceOutput(java.io.File saveSourceOutput)
- Parameters:
saveSourceOutput- the saveSourceOutput to set
-
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.
-
-