Package org.docstr.gradle.plugins.gwt
Interface GwtCompileOptions
-
- All Known Implementing Classes:
AbstractGwtCompile
,GwtCheck
,GwtCompile
,GwtCompileOptionsImpl
,GwtDraftCompile
public interface GwtCompileOptions
Defines the options known by theGwtCompile
andGwtDraftCompile
tasks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.util.List<java.lang.String>
getSetProperties()
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
setSetProperties(java.util.List<java.lang.String> properties)
Set the values of a property in the form of propertyName=value1[,value2...].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.
-
-
-
Method Detail
-
getLocalWorkers
java.lang.Integer getLocalWorkers()
-
setLocalWorkers
void setLocalWorkers(java.lang.Integer localWorkers)
Sets the "-localWorkers" option.- Parameters:
localWorkers
- Whether to add the "-localWorkers" option.
-
getDraftCompile
java.lang.Boolean getDraftCompile()
-
setDraftCompile
void setDraftCompile(java.lang.Boolean draftCompile)
If set to true, this adds the "-draftCompile" flag.- Parameters:
draftCompile
- Whether to add the "-draftCompile" flag.
-
getCompileReport
java.lang.Boolean getCompileReport()
-
setCompileReport
void setCompileReport(java.lang.Boolean compileReport)
If set to true, this adds the "-compileReport" flag.- Parameters:
compileReport
- Whether to add the "-compileReport" flag.
-
getCompilerMetrics
java.lang.Boolean getCompilerMetrics()
-
setCompilerMetrics
void setCompilerMetrics(java.lang.Boolean compilerMetrics)
If set to true, this adds the "-XcompilerMetrics" flag.- Parameters:
compilerMetrics
- Whether to add the "-XcompilerMetrics" flag.
-
getValidateOnly
java.lang.Boolean getValidateOnly()
-
setValidateOnly
void setValidateOnly(java.lang.Boolean validateOnly)
If set to true, this adds the "-validateOnly" flag.- Parameters:
validateOnly
- Whether to add the "-validateOnly" flag.
-
getDisableGeneratingOnShards
java.lang.Boolean getDisableGeneratingOnShards()
-
setDisableGeneratingOnShards
void setDisableGeneratingOnShards(java.lang.Boolean disableGeneratingOnShards)
If set to true, this adds the "-XdisableGeneratingOnShards" flag.- Parameters:
disableGeneratingOnShards
- Whether to add the "-XdisableGeneratingOnShards" flag.
-
getOptimize
java.lang.Integer getOptimize()
-
setOptimize
void setOptimize(java.lang.Integer optimize)
Sets the "-optimize" option.- Parameters:
optimize
- the optimization level to set. Valid values are in the interval [0, 9].
-
getDisableAggressiveOptimization
java.lang.Boolean getDisableAggressiveOptimization()
-
setDisableAggressiveOptimization
void setDisableAggressiveOptimization(java.lang.Boolean disableAggressiveOptimization)
If set to true, this adds the "-XdisableAggressiveOptimization" flag.- Parameters:
disableAggressiveOptimization
- Whether to add the "-XdisableAggressiveOptimization" flag.
-
getDisableClassMetadata
java.lang.Boolean getDisableClassMetadata()
-
setDisableClassMetadata
void setDisableClassMetadata(java.lang.Boolean disableClassMetadata)
If set to true, this adds the "-XdisableClassMetadata" flag.- Parameters:
disableClassMetadata
- Whether to add the "-XdisableClassMetadata" flag.
-
getDisableCastChecking
java.lang.Boolean getDisableCastChecking()
-
setDisableCastChecking
void setDisableCastChecking(java.lang.Boolean disableCastChecking)
If set to true, this adds the "-XdisableCastChecking" flag.- Parameters:
disableCastChecking
- Whether to add the "-XdisableCastChecking" flag.
-
getEa
java.lang.Boolean getEa()
-
setEa
void setEa(java.lang.Boolean ea)
If set to true, this adds the "-ea" (enable assertions) flag.- Parameters:
ea
- Whether to add the "-ea" (enable assertions) flag.
-
getDisableRunAsync
java.lang.Boolean getDisableRunAsync()
-
setDisableRunAsync
void setDisableRunAsync(java.lang.Boolean disableRunAsync)
If set to true, this adds the "-XdisableRunAsync" flag.- Parameters:
disableRunAsync
- Whether to add the "-XdisableRunAsync" flag.
-
getStyle
Style getStyle()
-
setStyle
void setStyle(Style style)
Sets the "-style" option.- Parameters:
style
- Whether to add the "-style" option.
-
getSoycDetailed
java.lang.Boolean getSoycDetailed()
-
setSoycDetailed
void setSoycDetailed(java.lang.Boolean soycDetailed)
If set to true, this adds the "-XsoycDetailed" flag.- Parameters:
soycDetailed
- Whether to addthe "-XsoycDetailed" flag.
-
getStrict
java.lang.Boolean getStrict()
-
setStrict
void setStrict(java.lang.Boolean strict)
If set to true, this adds the "-strict" flag.- Parameters:
strict
- Whether to add the "-strict" flag.
-
getDisableSoycHtml
java.lang.Boolean getDisableSoycHtml()
-
setDisableSoycHtml
void setDisableSoycHtml(java.lang.Boolean disableSoycHtml)
If set to true, this adds the "-XdisableSoycHtml" flag.- Parameters:
disableSoycHtml
- Whether to add the "-XdisableSoycHtml" flag.
-
getFragmentCount
java.lang.Integer getFragmentCount()
-
setFragmentCount
void setFragmentCount(java.lang.Integer fragmentCount)
Sets the "-XfragmentCount" option.- Parameters:
fragmentCount
- The "-XfragmentCount" option specified.
-
getMissingDepsFile
java.io.File getMissingDepsFile()
-
setMissingDepsFile
void setMissingDepsFile(java.io.File missingDepsFile)
- Parameters:
missingDepsFile
- the missingDepsFile to set
-
getNamespace
Namespace getNamespace()
-
setNamespace
void setNamespace(Namespace namespace)
- Parameters:
namespace
- the namespace to set
-
getEnforceStrictResources
java.lang.Boolean getEnforceStrictResources()
-
setEnforceStrictResources
void setEnforceStrictResources(java.lang.Boolean enforceStrictResources)
- Parameters:
enforceStrictResources
- the enforceStrictResources to set
-
getIncrementalCompileWarnings
java.lang.Boolean getIncrementalCompileWarnings()
-
setIncrementalCompileWarnings
void setIncrementalCompileWarnings(java.lang.Boolean incrementalCompileWarnings)
- Parameters:
incrementalCompileWarnings
- the incrementalCompileWarnings to set
-
getOverlappingSourceWarnings
java.lang.Boolean getOverlappingSourceWarnings()
-
setOverlappingSourceWarnings
void setOverlappingSourceWarnings(java.lang.Boolean overlappingSourceWarnings)
- Parameters:
overlappingSourceWarnings
- the overlappingSourceWarnings to set
-
getSaveSource
java.lang.Boolean getSaveSource()
-
setSaveSource
void setSaveSource(java.lang.Boolean saveSource)
- Parameters:
saveSource
- the saveSource to set
-
getSaveSourceOutput
java.io.File getSaveSourceOutput()
-
setSaveSourceOutput
void setSaveSourceOutput(java.io.File saveSourceOutput)
- Parameters:
saveSourceOutput
- the saveSourceOutput to set
-
getClosureFormattedOutput
java.lang.Boolean getClosureFormattedOutput()
-
setClosureFormattedOutput
void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
If set to true, this adds the parameter -XclosureFormattedOutput. If set to false, this adds the parameter -XnoclosureFormattedOutput. Added in GWT 2.8.- Parameters:
closureFormattedOutput
- The closure formatted output.
-
setSetProperties
void setSetProperties(java.util.List<java.lang.String> properties)
Set the values of a property in the form of propertyName=value1[,value2...]. Example: -setProperties = ["user.agent=safari", "locale=default"] would add the parameters -setProperty user.agent=safari -setProperty locale=default- Parameters:
properties
- The list of properties to be set
-
getSetProperties
java.util.List<java.lang.String> getSetProperties()
-
-