public class AbstractGwtCompile extends AbstractGwtTask implements GwtCompileOptions
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
AbstractGwtCompile() |
Modifier and Type | Method and Description |
---|---|
protected void |
addArgs()
Called directly before executing this task.
|
protected void |
configure(GwtCompileOptions options) |
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.
|
getCacheDir, getDeploy, getExtra, getGen, getWar, getWorkDir, setCacheDir, setDeploy, setExtra, setGen, setWar, setWorkDir
argIfEnabled, argIfSet, argOnOff, args, dirArgIfSet, exec, getClasspath, getIncremental, getJsInteropMode, getLogLevel, getMaxHeapSize, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, jvmArgs, prependSrcToClasspath, setClasspath, setDebug, setIncremental, setJsInteropMode, setLogLevel, setMaxHeapSize, setMinHeapSize, setModules, setSourceLevel, setSrc
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
protected void addArgs()
AbstractGwtActionTask
addArgs
in class AbstractGwtTask
protected void configure(GwtCompileOptions options)
public Integer getLocalWorkers()
getLocalWorkers
in interface GwtCompileOptions
public void setLocalWorkers(Integer localWorkers)
setLocalWorkers
in interface GwtCompileOptions
@Input @Optional public Boolean getDraftCompile()
getDraftCompile
in interface GwtCompileOptions
public void setDraftCompile(Boolean draftCompile)
setDraftCompile
in interface GwtCompileOptions
@Input @Optional public Boolean getCompileReport()
getCompileReport
in interface GwtCompileOptions
public void setCompileReport(Boolean compileReport)
setCompileReport
in interface GwtCompileOptions
@Input @Optional public Boolean getCompilerMetrics()
getCompilerMetrics
in interface GwtCompileOptions
public void setCompilerMetrics(Boolean compilerMetrics)
setCompilerMetrics
in interface GwtCompileOptions
@Input @Optional public Boolean getValidateOnly()
getValidateOnly
in interface GwtCompileOptions
public void setValidateOnly(Boolean validateOnly)
setValidateOnly
in interface GwtCompileOptions
@Input @Optional public Boolean getDisableGeneratingOnShards()
getDisableGeneratingOnShards
in interface GwtCompileOptions
public void setDisableGeneratingOnShards(Boolean disableGeneratingOnShards)
setDisableGeneratingOnShards
in interface GwtCompileOptions
@Input @Optional public Integer getOptimize()
getOptimize
in interface GwtCompileOptions
public void setOptimize(Integer optimize)
setOptimize
in interface GwtCompileOptions
optimize
- the optimization level to set. Valid values are in the interval [0, 9].@Input @Optional public Boolean getDisableAggressiveOptimization()
getDisableAggressiveOptimization
in interface GwtCompileOptions
public void setDisableAggressiveOptimization(Boolean disableAggressiveOptimization)
setDisableAggressiveOptimization
in interface GwtCompileOptions
@Input @Optional public Boolean getDisableClassMetadata()
getDisableClassMetadata
in interface GwtCompileOptions
public void setDisableClassMetadata(Boolean disableClassMetadata)
setDisableClassMetadata
in interface GwtCompileOptions
@Input @Optional public Boolean getDisableCastChecking()
getDisableCastChecking
in interface GwtCompileOptions
public void setDisableCastChecking(Boolean disableCastChecking)
setDisableCastChecking
in interface GwtCompileOptions
@Input @Optional public Boolean getEa()
getEa
in interface GwtCompileOptions
public void setEa(Boolean ea)
setEa
in interface GwtCompileOptions
@Input @Optional public Boolean getDisableRunAsync()
getDisableRunAsync
in interface GwtCompileOptions
public void setDisableRunAsync(Boolean disableRunAsync)
setDisableRunAsync
in interface GwtCompileOptions
@Input @Optional public Style getStyle()
getStyle
in interface GwtCompileOptions
public void setStyle(Style style)
setStyle
in interface GwtCompileOptions
@Input @Optional public Boolean getSoycDetailed()
getSoycDetailed
in interface GwtCompileOptions
public void setSoycDetailed(Boolean soycDetailed)
setSoycDetailed
in interface GwtCompileOptions
@Input @Optional public Boolean getStrict()
getStrict
in interface GwtCompileOptions
public void setStrict(Boolean strict)
setStrict
in interface GwtCompileOptions
@Input @Optional public Boolean getDisableSoycHtml()
getDisableSoycHtml
in interface GwtCompileOptions
public void setDisableSoycHtml(Boolean disableSoycHtml)
setDisableSoycHtml
in interface GwtCompileOptions
@Input @Optional public Boolean getEnableClosureCompiler()
getEnableClosureCompiler
in interface GwtCompileOptions
public void setEnableClosureCompiler(Boolean enableClosureCompiler)
setEnableClosureCompiler
in interface GwtCompileOptions
@Input @Optional public Integer getFragmentCount()
getFragmentCount
in interface GwtCompileOptions
public void setFragmentCount(Integer fragmentCount)
setFragmentCount
in interface GwtCompileOptions
public File getMissingDepsFile()
getMissingDepsFile
in interface GwtCompileOptions
public void setMissingDepsFile(File missingDepsFile)
setMissingDepsFile
in interface GwtCompileOptions
missingDepsFile
- the missingDepsFile to setpublic Namespace getNamespace()
getNamespace
in interface GwtCompileOptions
public void setNamespace(Namespace namespace)
setNamespace
in interface GwtCompileOptions
namespace
- the namespace to setpublic Boolean getEnforceStrictResources()
getEnforceStrictResources
in interface GwtCompileOptions
public void setEnforceStrictResources(Boolean enforceStrictResources)
setEnforceStrictResources
in interface GwtCompileOptions
enforceStrictResources
- the enforceStrictResources to setpublic Boolean getIncrementalCompileWarnings()
getIncrementalCompileWarnings
in interface GwtCompileOptions
public void setIncrementalCompileWarnings(Boolean incrementalCompileWarnings)
setIncrementalCompileWarnings
in interface GwtCompileOptions
incrementalCompileWarnings
- the incrementalCompileWarnings to setpublic Boolean getOverlappingSourceWarnings()
getOverlappingSourceWarnings
in interface GwtCompileOptions
public void setOverlappingSourceWarnings(Boolean overlappingSourceWarnings)
setOverlappingSourceWarnings
in interface GwtCompileOptions
overlappingSourceWarnings
- the overlappingSourceWarnings to setpublic Boolean getSaveSource()
getSaveSource
in interface GwtCompileOptions
public void setSaveSource(Boolean saveSource)
setSaveSource
in interface GwtCompileOptions
saveSource
- the saveSource to setpublic File getSaveSourceOutput()
getSaveSourceOutput
in interface GwtCompileOptions
public void setSaveSourceOutput(File saveSourceOutput)
setSaveSourceOutput
in interface GwtCompileOptions
saveSourceOutput
- the saveSourceOutput to set