public interface GwtCompileOptions
GwtCompile
and
GwtDraftCompile
tasks.Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getClosureFormattedOutput() |
java.lang.Boolean |
getCompileReport() |
java.lang.Boolean |
getCompilerMetrics() |
java.lang.Boolean |
getDisableAggressiveOptimization() |
java.lang.Boolean |
getDisableCastChecking() |
java.lang.Boolean |
getDisableClassMetadata() |
java.lang.Boolean |
getDisableGeneratingOnShards() |
java.lang.Boolean |
getDisableRunAsync() |
java.lang.Boolean |
getDisableSoycHtml() |
java.lang.Boolean |
getDraftCompile() |
java.lang.Boolean |
getEa() |
java.lang.Boolean |
getEnforceStrictResources() |
java.lang.Integer |
getFragmentCount() |
java.lang.Boolean |
getIncrementalCompileWarnings() |
java.lang.Integer |
getLocalWorkers() |
java.io.File |
getMissingDepsFile() |
Namespace |
getNamespace() |
java.lang.Integer |
getOptimize() |
java.lang.Boolean |
getOverlappingSourceWarnings() |
java.lang.Boolean |
getSaveSource() |
java.io.File |
getSaveSourceOutput() |
java.lang.Boolean |
getSoycDetailed() |
java.lang.Boolean |
getStrict() |
Style |
getStyle() |
java.lang.Boolean |
getValidateOnly() |
void |
setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
If set to true, this adds the parameter -XclosureFormattedOutput.
|
void |
setCompileReport(java.lang.Boolean compileReport)
If set to true, this adds the "-compileReport" flag.
|
void |
setCompilerMetrics(java.lang.Boolean compilerMetrics)
If set to true, this adds the "-XcompilerMetrics" flag.
|
void |
setDisableAggressiveOptimization(java.lang.Boolean disableAggressiveOptimization)
If set to true, this adds the "-XdisableAggressiveOptimization" flag.
|
void |
setDisableCastChecking(java.lang.Boolean disableCastChecking)
If set to true, this adds the "-XdisableCastChecking" flag.
|
void |
setDisableClassMetadata(java.lang.Boolean disableClassMetadata)
If set to true, this adds the "-XdisableClassMetadata" flag.
|
void |
setDisableGeneratingOnShards(java.lang.Boolean disableGeneratingOnShards)
If set to true, this adds the "-XdisableGeneratingOnShards" flag.
|
void |
setDisableRunAsync(java.lang.Boolean disableRunAsync)
If set to true, this adds the "-XdisableRunAsync" flag.
|
void |
setDisableSoycHtml(java.lang.Boolean disableSoycHtml)
If set to true, this adds the "-XdisableSoycHtml" flag.
|
void |
setDraftCompile(java.lang.Boolean draftCompile)
If set to true, this adds the "-draftCompile" flag.
|
void |
setEa(java.lang.Boolean ea)
If set to true, this adds the "-ea" (enable assertions) flag.
|
void |
setEnforceStrictResources(java.lang.Boolean enforceStrictResources) |
void |
setFragmentCount(java.lang.Integer fragmentCount)
Sets the "-XfragmentCount" option.
|
void |
setIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings) |
void |
setLocalWorkers(java.lang.Integer localWorkers)
Sets the "-localWorkers" option.
|
void |
setMissingDepsFile(java.io.File missingDepsFile) |
void |
setNamespace(Namespace namespace) |
void |
setOptimize(java.lang.Integer optimize)
Sets the "-optimize" option.
|
void |
setOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings) |
void |
setSaveSource(java.lang.Boolean saveSource) |
void |
setSaveSourceOutput(java.io.File saveSourceOutput) |
void |
setSoycDetailed(java.lang.Boolean soycDetailed)
If set to true, this adds the "-XsoycDetailed" flag.
|
void |
setStrict(java.lang.Boolean strict)
If set to true, this adds the "-strict" flag.
|
void |
setStyle(Style style)
Sets the "-style" option.
|
void |
setValidateOnly(java.lang.Boolean validateOnly)
If set to true, this adds the "-validateOnly" flag.
|
java.lang.Integer getLocalWorkers()
void setLocalWorkers(java.lang.Integer localWorkers)
localWorkers
- Whether to add the "-localWorkers" option.java.lang.Boolean getDraftCompile()
void setDraftCompile(java.lang.Boolean draftCompile)
draftCompile
- Whether to add the "-draftCompile" flag.java.lang.Boolean getCompileReport()
void setCompileReport(java.lang.Boolean compileReport)
compileReport
- Whether to add the "-compileReport" flag.java.lang.Boolean getCompilerMetrics()
void setCompilerMetrics(java.lang.Boolean compilerMetrics)
compilerMetrics
- Whether to add the "-XcompilerMetrics" flag.java.lang.Boolean getValidateOnly()
void setValidateOnly(java.lang.Boolean validateOnly)
validateOnly
- Whether to add the "-validateOnly" flag.java.lang.Boolean getDisableGeneratingOnShards()
void setDisableGeneratingOnShards(java.lang.Boolean disableGeneratingOnShards)
disableGeneratingOnShards
- Whether to add the "-XdisableGeneratingOnShards" flag.java.lang.Integer getOptimize()
void setOptimize(java.lang.Integer optimize)
optimize
- the optimization level to set. Valid values are in the interval [0, 9].java.lang.Boolean getDisableAggressiveOptimization()
void setDisableAggressiveOptimization(java.lang.Boolean disableAggressiveOptimization)
disableAggressiveOptimization
- Whether to add the "-XdisableAggressiveOptimization" flag.java.lang.Boolean getDisableClassMetadata()
void setDisableClassMetadata(java.lang.Boolean disableClassMetadata)
disableClassMetadata
- Whether to add the "-XdisableClassMetadata" flag.java.lang.Boolean getDisableCastChecking()
void setDisableCastChecking(java.lang.Boolean disableCastChecking)
disableCastChecking
- Whether to add the "-XdisableCastChecking" flag.java.lang.Boolean getEa()
void setEa(java.lang.Boolean ea)
ea
- Whether to add the "-ea" (enable assertions) flag.java.lang.Boolean getDisableRunAsync()
void setDisableRunAsync(java.lang.Boolean disableRunAsync)
disableRunAsync
- Whether to add the "-XdisableRunAsync" flag.Style getStyle()
void setStyle(Style style)
style
- Whether to add the "-style" option.java.lang.Boolean getSoycDetailed()
void setSoycDetailed(java.lang.Boolean soycDetailed)
soycDetailed
- Whether to addthe "-XsoycDetailed" flag.java.lang.Boolean getStrict()
void setStrict(java.lang.Boolean strict)
strict
- Whether to add the "-strict" flag.java.lang.Boolean getDisableSoycHtml()
void setDisableSoycHtml(java.lang.Boolean disableSoycHtml)
disableSoycHtml
- Whether to add the "-XdisableSoycHtml" flag.java.lang.Integer getFragmentCount()
void setFragmentCount(java.lang.Integer fragmentCount)
fragmentCount
- The "-XfragmentCount" option specified.java.io.File getMissingDepsFile()
void setMissingDepsFile(java.io.File missingDepsFile)
missingDepsFile
- the missingDepsFile to setNamespace getNamespace()
void setNamespace(Namespace namespace)
namespace
- the namespace to setjava.lang.Boolean getEnforceStrictResources()
void setEnforceStrictResources(java.lang.Boolean enforceStrictResources)
enforceStrictResources
- the enforceStrictResources to setjava.lang.Boolean getIncrementalCompileWarnings()
void setIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings)
incrementalCompileWarnings
- the incrementalCompileWarnings to setjava.lang.Boolean getOverlappingSourceWarnings()
void setOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings)
overlappingSourceWarnings
- the overlappingSourceWarnings to setjava.lang.Boolean getSaveSource()
void setSaveSource(java.lang.Boolean saveSource)
saveSource
- the saveSource to setjava.io.File getSaveSourceOutput()
void setSaveSourceOutput(java.io.File saveSourceOutput)
saveSourceOutput
- the saveSourceOutput to setjava.lang.Boolean getClosureFormattedOutput()
void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
closureFormattedOutput
- The closure formatted output.