public class AbstractGwtCompile extends AbstractGwtTask implements GwtCompileOptions
Task.NamerTASK_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() |
Integer |
getFragmentCount() |
Integer |
getLocalWorkers() |
Integer |
getOptimize() |
Boolean |
getSoycDetailed() |
Boolean |
getStrict() |
Style |
getStyle() |
Boolean |
getValidateOnly() |
File |
getWar() |
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 |
setFragmentCount(Integer fragmentCount)
Sets the "-XfragmentCount" option.
|
void |
setLocalWorkers(Integer localWorkers)
Sets the "-localWorkers" option.
|
void |
setOptimize(Integer optimize)
Sets the "-optimize" option.
|
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, getLogLevel, getWorkDir, setCacheDir, setDeploy, setExtra, setGen, setLogLevel, setWar, setWorkDirargIfEnabled, argIfSet, dirArgIfSet, exec, getModules, getSrc, isDevTask, prependSrcToClasspath, setModules, setSrcargs, args, bootstrapClasspath, classpath, copyTo, copyTo, environment, environment, executable, getAllJvmArgs, getArgs, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecutable, getJvmArgs, getMain, getMaxHeapSize, getMinHeapSize, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setArgs, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setIgnoreExitValue, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, systemProperties, systemProperty, workingDirconventionMapping, conventionMapping, getConventionMappingaddValidator, 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, getStandardOutputCapture, getState, getStateInternal, 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, toStringprotected void addArgs()
AbstractGwtActionTaskaddArgs in class AbstractGwtTaskprotected void configure(GwtCompileOptions options)
@OutputDirectory public File getWar()
getWar in class AbstractGwtTaskpublic Integer getLocalWorkers()
getLocalWorkers in interface GwtCompileOptionspublic void setLocalWorkers(Integer localWorkers)
setLocalWorkers in interface GwtCompileOptions@Input @Optional public Boolean getDraftCompile()
getDraftCompile in interface GwtCompileOptionspublic void setDraftCompile(Boolean draftCompile)
setDraftCompile in interface GwtCompileOptions@Input @Optional public Boolean getCompileReport()
getCompileReport in interface GwtCompileOptionspublic void setCompileReport(Boolean compileReport)
setCompileReport in interface GwtCompileOptions@Input @Optional public Boolean getCompilerMetrics()
getCompilerMetrics in interface GwtCompileOptionspublic void setCompilerMetrics(Boolean compilerMetrics)
setCompilerMetrics in interface GwtCompileOptions@Input @Optional public Boolean getValidateOnly()
getValidateOnly in interface GwtCompileOptionspublic void setValidateOnly(Boolean validateOnly)
setValidateOnly in interface GwtCompileOptions@Input @Optional public Boolean getDisableGeneratingOnShards()
getDisableGeneratingOnShards in interface GwtCompileOptionspublic void setDisableGeneratingOnShards(Boolean disableGeneratingOnShards)
setDisableGeneratingOnShards in interface GwtCompileOptions@Input @Optional public Integer getOptimize()
getOptimize in interface GwtCompileOptionspublic void setOptimize(Integer optimize)
setOptimize in interface GwtCompileOptionsoptimize - the optimization level to set. Valid values are in the interval [0, 9].@Input @Optional public Boolean getDisableAggressiveOptimization()
getDisableAggressiveOptimization in interface GwtCompileOptionspublic void setDisableAggressiveOptimization(Boolean disableAggressiveOptimization)
setDisableAggressiveOptimization in interface GwtCompileOptions@Input @Optional public Boolean getDisableClassMetadata()
getDisableClassMetadata in interface GwtCompileOptionspublic void setDisableClassMetadata(Boolean disableClassMetadata)
setDisableClassMetadata in interface GwtCompileOptions@Input @Optional public Boolean getDisableCastChecking()
getDisableCastChecking in interface GwtCompileOptionspublic void setDisableCastChecking(Boolean disableCastChecking)
setDisableCastChecking in interface GwtCompileOptions@Input @Optional public Boolean getEa()
getEa in interface GwtCompileOptionspublic void setEa(Boolean ea)
setEa in interface GwtCompileOptions@Input @Optional public Boolean getDisableRunAsync()
getDisableRunAsync in interface GwtCompileOptionspublic void setDisableRunAsync(Boolean disableRunAsync)
setDisableRunAsync in interface GwtCompileOptions@Input @Optional public Style getStyle()
getStyle in interface GwtCompileOptionspublic void setStyle(Style style)
setStyle in interface GwtCompileOptions@Input @Optional public Boolean getSoycDetailed()
getSoycDetailed in interface GwtCompileOptionspublic void setSoycDetailed(Boolean soycDetailed)
setSoycDetailed in interface GwtCompileOptions@Input @Optional public Boolean getStrict()
getStrict in interface GwtCompileOptionspublic void setStrict(Boolean strict)
setStrict in interface GwtCompileOptions@Input @Optional public Boolean getDisableSoycHtml()
getDisableSoycHtml in interface GwtCompileOptionspublic void setDisableSoycHtml(Boolean disableSoycHtml)
setDisableSoycHtml in interface GwtCompileOptions@Input @Optional public Boolean getEnableClosureCompiler()
getEnableClosureCompiler in interface GwtCompileOptionspublic void setEnableClosureCompiler(Boolean enableClosureCompiler)
setEnableClosureCompiler in interface GwtCompileOptions@Input @Optional public Integer getFragmentCount()
getFragmentCount in interface GwtCompileOptionspublic void setFragmentCount(Integer fragmentCount)
setFragmentCount in interface GwtCompileOptions