public class GwtCompileOptionsImpl extends java.lang.Object implements GwtCompileOptions
GwtCompileOptions.| Constructor and Description |
|---|
GwtCompileOptionsImpl() |
| 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.
|
public java.lang.Integer getLocalWorkers()
getLocalWorkers in interface GwtCompileOptionspublic void setLocalWorkers(java.lang.Integer localWorkers)
setLocalWorkers in interface GwtCompileOptionslocalWorkers - Whether to add the "-localWorkers" option.public java.lang.Boolean getDraftCompile()
getDraftCompile in interface GwtCompileOptionspublic void setDraftCompile(java.lang.Boolean draftCompile)
setDraftCompile in interface GwtCompileOptionsdraftCompile - Whether to add the "-draftCompile" flag.public java.lang.Boolean getCompileReport()
getCompileReport in interface GwtCompileOptionspublic void setCompileReport(java.lang.Boolean compileReport)
setCompileReport in interface GwtCompileOptionscompileReport - Whether to add the "-compileReport" flag.public java.lang.Boolean getCompilerMetrics()
getCompilerMetrics in interface GwtCompileOptionspublic void setCompilerMetrics(java.lang.Boolean compilerMetrics)
setCompilerMetrics in interface GwtCompileOptionscompilerMetrics - Whether to add the "-XcompilerMetrics" flag.public java.lang.Boolean getValidateOnly()
getValidateOnly in interface GwtCompileOptionspublic void setValidateOnly(java.lang.Boolean validateOnly)
setValidateOnly in interface GwtCompileOptionsvalidateOnly - Whether to add the "-validateOnly" flag.public java.lang.Boolean getDisableGeneratingOnShards()
getDisableGeneratingOnShards in interface GwtCompileOptionspublic void setDisableGeneratingOnShards(java.lang.Boolean disableGeneratingOnShards)
setDisableGeneratingOnShards in interface GwtCompileOptionsdisableGeneratingOnShards - Whether to add the "-XdisableGeneratingOnShards" flag.public java.lang.Integer getOptimize()
getOptimize in interface GwtCompileOptionspublic void setOptimize(java.lang.Integer optimize)
setOptimize in interface GwtCompileOptionsoptimize - the optimization level to set. Valid values are in the interval [0, 9].public java.lang.Boolean getDisableAggressiveOptimization()
getDisableAggressiveOptimization in interface GwtCompileOptionspublic void setDisableAggressiveOptimization(java.lang.Boolean disableAggressiveOptimization)
setDisableAggressiveOptimization in interface GwtCompileOptionsdisableAggressiveOptimization - Whether to add the "-XdisableAggressiveOptimization" flag.public java.lang.Boolean getDisableClassMetadata()
getDisableClassMetadata in interface GwtCompileOptionspublic void setDisableClassMetadata(java.lang.Boolean disableClassMetadata)
setDisableClassMetadata in interface GwtCompileOptionsdisableClassMetadata - Whether to add the "-XdisableClassMetadata" flag.public java.lang.Boolean getDisableCastChecking()
getDisableCastChecking in interface GwtCompileOptionspublic void setDisableCastChecking(java.lang.Boolean disableCastChecking)
setDisableCastChecking in interface GwtCompileOptionsdisableCastChecking - Whether to add the "-XdisableCastChecking" flag.public java.lang.Boolean getEa()
getEa in interface GwtCompileOptionspublic void setEa(java.lang.Boolean ea)
setEa in interface GwtCompileOptionsea - Whether to add the "-ea" (enable assertions) flag.public java.lang.Boolean getDisableRunAsync()
getDisableRunAsync in interface GwtCompileOptionspublic void setDisableRunAsync(java.lang.Boolean disableRunAsync)
setDisableRunAsync in interface GwtCompileOptionsdisableRunAsync - Whether to add the "-XdisableRunAsync" flag.public Style getStyle()
getStyle in interface GwtCompileOptionspublic void setStyle(Style style)
setStyle in interface GwtCompileOptionsstyle - Whether to add the "-style" option.public java.lang.Boolean getSoycDetailed()
getSoycDetailed in interface GwtCompileOptionspublic void setSoycDetailed(java.lang.Boolean soycDetailed)
setSoycDetailed in interface GwtCompileOptionssoycDetailed - Whether to addthe "-XsoycDetailed" flag.public java.lang.Boolean getStrict()
getStrict in interface GwtCompileOptionspublic void setStrict(java.lang.Boolean strict)
setStrict in interface GwtCompileOptionsstrict - Whether to add the "-strict" flag.public java.lang.Boolean getDisableSoycHtml()
getDisableSoycHtml in interface GwtCompileOptionspublic void setDisableSoycHtml(java.lang.Boolean disableSoycHtml)
setDisableSoycHtml in interface GwtCompileOptionsdisableSoycHtml - Whether to add the "-XdisableSoycHtml" flag.public java.lang.Integer getFragmentCount()
getFragmentCount in interface GwtCompileOptionspublic void setFragmentCount(java.lang.Integer fragmentCount)
setFragmentCount in interface GwtCompileOptionsfragmentCount - The "-XfragmentCount" option specified.public java.io.File getMissingDepsFile()
getMissingDepsFile in interface GwtCompileOptionspublic void setMissingDepsFile(java.io.File missingDepsFile)
setMissingDepsFile in interface GwtCompileOptionsmissingDepsFile - the missingDepsFile to setpublic Namespace getNamespace()
getNamespace in interface GwtCompileOptionspublic void setNamespace(Namespace namespace)
setNamespace in interface GwtCompileOptionsnamespace - the namespace to setpublic java.lang.Boolean getEnforceStrictResources()
getEnforceStrictResources in interface GwtCompileOptionspublic void setEnforceStrictResources(java.lang.Boolean enforceStrictResources)
setEnforceStrictResources in interface GwtCompileOptionsenforceStrictResources - the enforceStrictResources to setpublic java.lang.Boolean getIncrementalCompileWarnings()
getIncrementalCompileWarnings in interface GwtCompileOptionspublic void setIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings)
setIncrementalCompileWarnings in interface GwtCompileOptionsincrementalCompileWarnings - the incrementalCompileWarnings to setpublic java.lang.Boolean getOverlappingSourceWarnings()
getOverlappingSourceWarnings in interface GwtCompileOptionspublic void setOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings)
setOverlappingSourceWarnings in interface GwtCompileOptionsoverlappingSourceWarnings - the overlappingSourceWarnings to setpublic java.lang.Boolean getSaveSource()
getSaveSource in interface GwtCompileOptionspublic void setSaveSource(java.lang.Boolean saveSource)
setSaveSource in interface GwtCompileOptionssaveSource - the saveSource to setpublic java.io.File getSaveSourceOutput()
getSaveSourceOutput in interface GwtCompileOptionspublic void setSaveSourceOutput(java.io.File saveSourceOutput)
setSaveSourceOutput in interface GwtCompileOptionssaveSourceOutput - the saveSourceOutput to setpublic java.lang.Boolean getClosureFormattedOutput()
getClosureFormattedOutput in interface GwtCompileOptionspublic void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
setClosureFormattedOutput in interface GwtCompileOptionsclosureFormattedOutput - The closure formatted output.