public interface GwtCompileOptions
GwtCompile
and GwtDraftCompile
tasks.Modifier and Type | Method and Description |
---|---|
Boolean |
getCompileReport() |
Boolean |
getCompilerMetrics() |
Boolean |
getDisableAggressiveOptimization() |
Boolean |
getDisableCastChecking() |
Boolean |
getDisableClassMetadata() |
Boolean |
getDisableGeneratingOnShards() |
Boolean |
getDisableRunAsync() |
Boolean |
getDisableSoycHtml() |
Boolean |
getDraftCompile() |
Boolean |
getEa() |
Boolean |
getEnableClosureCompiler() |
Boolean |
getEnforceStrictResources() |
Integer |
getFragmentCount() |
Boolean |
getIncrementalCompileWarnings() |
Integer |
getLocalWorkers() |
File |
getMissingDepsFile() |
Namespace |
getNamespace() |
Integer |
getOptimize() |
Boolean |
getOverlappingSourceWarnings() |
Boolean |
getSaveSource() |
File |
getSaveSourceOutput() |
Boolean |
getSoycDetailed() |
Boolean |
getStrict() |
Style |
getStyle() |
Boolean |
getValidateOnly() |
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 |
setEa(Boolean ea)
If set to true, this adds the "-ea" (enable assertions) flag.
|
void |
setEnableClosureCompiler(Boolean enableClosureCompiler)
If set to true, this adds the "-XenableClosureCompiler" 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 |
setStrict(Boolean strict)
If set to true, this adds the "-strict" flag.
|
void |
setStyle(Style style)
Sets the "-style" option.
|
void |
setValidateOnly(Boolean validateOnly)
If set to true, this adds the "-validateOnly" flag.
|
Integer getLocalWorkers()
void setLocalWorkers(Integer localWorkers)
localWorkers
- Boolean getDraftCompile()
void setDraftCompile(Boolean draftCompile)
draftCompile
- Boolean getCompileReport()
void setCompileReport(Boolean compileReport)
compileReport
- Boolean getCompilerMetrics()
void setCompilerMetrics(Boolean compilerMetrics)
compilerMetrics
- Boolean getValidateOnly()
void setValidateOnly(Boolean validateOnly)
validateOnly
- Boolean getDisableGeneratingOnShards()
void setDisableGeneratingOnShards(Boolean disableGeneratingOnShards)
disableGeneratingOnShards
- Integer getOptimize()
void setOptimize(Integer optimize)
optimize
- the optimization level to set. Valid values are in the interval [0, 9].Boolean getDisableAggressiveOptimization()
void setDisableAggressiveOptimization(Boolean disableAggressiveOptimization)
disableAggressiveOptimization
- Boolean getDisableClassMetadata()
void setDisableClassMetadata(Boolean disableClassMetadata)
disableClassMetadata
- Boolean getDisableCastChecking()
void setDisableCastChecking(Boolean disableCastChecking)
disableCastChecking
- Boolean getEa()
void setEa(Boolean ea)
ea
- Boolean getDisableRunAsync()
void setDisableRunAsync(Boolean disableRunAsync)
disableRunAsync
- Style getStyle()
void setStyle(Style style)
style
- Boolean getSoycDetailed()
void setSoycDetailed(Boolean soycDetailed)
soycDetailed
- Boolean getStrict()
void setStrict(Boolean strict)
strict
- Boolean getDisableSoycHtml()
void setDisableSoycHtml(Boolean disableSoycHtml)
disableSoycHtml
- Boolean getEnableClosureCompiler()
void setEnableClosureCompiler(Boolean enableClosureCompiler)
enableClosureCompiler
- Integer getFragmentCount()
void setFragmentCount(Integer fragmentCount)
fragmentCount
- File getMissingDepsFile()
void setMissingDepsFile(File missingDepsFile)
missingDepsFile
- the missingDepsFile to setNamespace getNamespace()
void setNamespace(Namespace namespace)
namespace
- the namespace to setBoolean getEnforceStrictResources()
void setEnforceStrictResources(Boolean enforceStrictResources)
enforceStrictResources
- the enforceStrictResources to setBoolean getIncrementalCompileWarnings()
void setIncrementalCompileWarnings(Boolean incrementalCompileWarnings)
incrementalCompileWarnings
- the incrementalCompileWarnings to setBoolean getOverlappingSourceWarnings()
void setOverlappingSourceWarnings(Boolean overlappingSourceWarnings)
overlappingSourceWarnings
- the overlappingSourceWarnings to setBoolean getSaveSource()
void setSaveSource(Boolean saveSource)
saveSource
- the saveSource to setFile getSaveSourceOutput()
void setSaveSourceOutput(File saveSourceOutput)
saveSourceOutput
- the saveSourceOutput to set