public class AbstractGwtCompile extends AbstractGwtTask implements GwtCompileOptions
| Constructor and Description |
|---|
AbstractGwtCompile() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgs()
Called directly before executing this task.
|
protected void |
configure(GwtCompileOptions options) |
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.
|
getCacheDir, getDeploy, getExtra, getGen, getWar, getWorkDir, setCacheDir, setDeploy, setExtra, setGen, setWar, setWorkDirargIfEnabled, argIfSet, argOnOff, args, dirArgIfSet, exec, getClasspath, getExtraJvmArgs, getGwtVersion, getIncremental, getJsInteropExports, getJsInteropMode, getLogLevel, getMaxHeapSize, getMethodNameDisplayMode, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, jvmArgs, prependSrcToClasspath, setClasspath, setDebug, setExtraJvmArgs, setGwtVersion, setIncremental, setJsInteropExports, setJsInteropMode, setLogLevel, setMaxHeapSize, setMethodNameDisplayMode, setMinHeapSize, setModules, setSourceLevel, setSrccompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, replaceLogger, setImpliesSubProjectsprotected void addArgs()
AbstractGwtActionTaskaddArgs in class AbstractGwtTaskprotected void configure(GwtCompileOptions options)
@Input 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional 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].@Input @Optional 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional 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.@Input @Optional public Style getStyle()
getStyle in interface GwtCompileOptionspublic void setStyle(Style style)
setStyle in interface GwtCompileOptionsstyle - Whether to add the "-style" option.@Input @Optional public java.lang.Boolean getSoycDetailed()
getSoycDetailed in interface GwtCompileOptionspublic void setSoycDetailed(java.lang.Boolean soycDetailed)
setSoycDetailed in interface GwtCompileOptionssoycDetailed - Whether to addthe "-XsoycDetailed" flag.@Input @Optional 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.@Input @Optional 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.@Input @Optional public java.lang.Integer getFragmentCount()
getFragmentCount in interface GwtCompileOptionspublic void setFragmentCount(java.lang.Integer fragmentCount)
setFragmentCount in interface GwtCompileOptionsfragmentCount - The "-XfragmentCount" option specified.@Optional @InputFile @PathSensitive(value=ABSOLUTE) public java.io.File getMissingDepsFile()
getMissingDepsFile in interface GwtCompileOptionspublic void setMissingDepsFile(java.io.File missingDepsFile)
setMissingDepsFile in interface GwtCompileOptionsmissingDepsFile - the missingDepsFile to set@Optional @Input public Namespace getNamespace()
getNamespace in interface GwtCompileOptionspublic void setNamespace(Namespace namespace)
setNamespace in interface GwtCompileOptionsnamespace - the namespace to set@Optional @Input public java.lang.Boolean getEnforceStrictResources()
getEnforceStrictResources in interface GwtCompileOptionspublic void setEnforceStrictResources(java.lang.Boolean enforceStrictResources)
setEnforceStrictResources in interface GwtCompileOptionsenforceStrictResources - the enforceStrictResources to set@Optional @Input public java.lang.Boolean getIncrementalCompileWarnings()
getIncrementalCompileWarnings in interface GwtCompileOptionspublic void setIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings)
setIncrementalCompileWarnings in interface GwtCompileOptionsincrementalCompileWarnings - the incrementalCompileWarnings to set@Optional @Input public java.lang.Boolean getOverlappingSourceWarnings()
getOverlappingSourceWarnings in interface GwtCompileOptionspublic void setOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings)
setOverlappingSourceWarnings in interface GwtCompileOptionsoverlappingSourceWarnings - the overlappingSourceWarnings to set@Optional @Input public java.lang.Boolean getSaveSource()
getSaveSource in interface GwtCompileOptionspublic void setSaveSource(java.lang.Boolean saveSource)
setSaveSource in interface GwtCompileOptionssaveSource - the saveSource to set@Optional @OutputDirectory public java.io.File getSaveSourceOutput()
getSaveSourceOutput in interface GwtCompileOptionspublic void setSaveSourceOutput(java.io.File saveSourceOutput)
setSaveSourceOutput in interface GwtCompileOptionssaveSourceOutput - the saveSourceOutput to set@Optional @Input public java.lang.Boolean getClosureFormattedOutput()
getClosureFormattedOutput in interface GwtCompileOptionspublic void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
setClosureFormattedOutput in interface GwtCompileOptionsclosureFormattedOutput - The closure formatted output.