Interface GwtCompileOptions

All Known Implementing Classes:
AbstractGwtCompile, GwtCheck, GwtCompile, GwtCompileOptionsImpl, GwtDraftCompile

public interface GwtCompileOptions
Defines the options known by the GwtCompile and GwtDraftCompile tasks.
  • Method Details

    • getLocalWorkers

      Integer getLocalWorkers()
    • setLocalWorkers

      void setLocalWorkers(Integer localWorkers)
      Sets the "-localWorkers" option.
      Parameters:
      localWorkers - Whether to add the "-localWorkers" option.
    • getDraftCompile

      Boolean getDraftCompile()
    • setDraftCompile

      void setDraftCompile(Boolean draftCompile)
      If set to true, this adds the "-draftCompile" flag.
      Parameters:
      draftCompile - Whether to add the "-draftCompile" flag.
    • getCompileReport

      Boolean getCompileReport()
    • setCompileReport

      void setCompileReport(Boolean compileReport)
      If set to true, this adds the "-compileReport" flag.
      Parameters:
      compileReport - Whether to add the "-compileReport" flag.
    • getCompilerMetrics

      Boolean getCompilerMetrics()
    • setCompilerMetrics

      void setCompilerMetrics(Boolean compilerMetrics)
      If set to true, this adds the "-XcompilerMetrics" flag.
      Parameters:
      compilerMetrics - Whether to add the "-XcompilerMetrics" flag.
    • getValidateOnly

      Boolean getValidateOnly()
    • setValidateOnly

      void setValidateOnly(Boolean validateOnly)
      If set to true, this adds the "-validateOnly" flag.
      Parameters:
      validateOnly - Whether to add the "-validateOnly" flag.
    • getDisableGeneratingOnShards

      Boolean getDisableGeneratingOnShards()
    • setDisableGeneratingOnShards

      void setDisableGeneratingOnShards(Boolean disableGeneratingOnShards)
      If set to true, this adds the "-XdisableGeneratingOnShards" flag.
      Parameters:
      disableGeneratingOnShards - Whether to add the "-XdisableGeneratingOnShards" flag.
    • getOptimize

      Integer getOptimize()
    • setOptimize

      void setOptimize(Integer optimize)
      Sets the "-optimize" option.
      Parameters:
      optimize - the optimization level to set. Valid values are in the interval [0, 9].
    • getDisableAggressiveOptimization

      Boolean getDisableAggressiveOptimization()
    • setDisableAggressiveOptimization

      void setDisableAggressiveOptimization(Boolean disableAggressiveOptimization)
      If set to true, this adds the "-XdisableAggressiveOptimization" flag.
      Parameters:
      disableAggressiveOptimization - Whether to add the "-XdisableAggressiveOptimization" flag.
    • getDisableClassMetadata

      Boolean getDisableClassMetadata()
    • setDisableClassMetadata

      void setDisableClassMetadata(Boolean disableClassMetadata)
      If set to true, this adds the "-XdisableClassMetadata" flag.
      Parameters:
      disableClassMetadata - Whether to add the "-XdisableClassMetadata" flag.
    • getDisableCastChecking

      Boolean getDisableCastChecking()
    • setDisableCastChecking

      void setDisableCastChecking(Boolean disableCastChecking)
      If set to true, this adds the "-XdisableCastChecking" flag.
      Parameters:
      disableCastChecking - Whether to add the "-XdisableCastChecking" flag.
    • getEa

      Boolean getEa()
    • setEa

      void setEa(Boolean ea)
      If set to true, this adds the "-ea" (enable assertions) flag.
      Parameters:
      ea - Whether to add the "-ea" (enable assertions) flag.
    • getDisableRunAsync

      Boolean getDisableRunAsync()
    • setDisableRunAsync

      void setDisableRunAsync(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

      Boolean getSoycDetailed()
    • setSoycDetailed

      void setSoycDetailed(Boolean soycDetailed)
      If set to true, this adds the "-XsoycDetailed" flag.
      Parameters:
      soycDetailed - Whether to addthe "-XsoycDetailed" flag.
    • getStrict

      Boolean getStrict()
    • setStrict

      void setStrict(Boolean strict)
      If set to true, this adds the "-strict" flag.
      Parameters:
      strict - Whether to add the "-strict" flag.
    • getDisableSoycHtml

      Boolean getDisableSoycHtml()
    • setDisableSoycHtml

      void setDisableSoycHtml(Boolean disableSoycHtml)
      If set to true, this adds the "-XdisableSoycHtml" flag.
      Parameters:
      disableSoycHtml - Whether to add the "-XdisableSoycHtml" flag.
    • getFragmentCount

      Integer getFragmentCount()
    • setFragmentCount

      void setFragmentCount(Integer fragmentCount)
      Sets the "-XfragmentCount" option.
      Parameters:
      fragmentCount - The "-XfragmentCount" option specified.
    • getMissingDepsFile

      File getMissingDepsFile()
    • setMissingDepsFile

      void setMissingDepsFile(File missingDepsFile)
      Parameters:
      missingDepsFile - the missingDepsFile to set
    • getNamespace

      Namespace getNamespace()
    • setNamespace

      void setNamespace(Namespace namespace)
      Parameters:
      namespace - the namespace to set
    • getEnforceStrictResources

      Boolean getEnforceStrictResources()
    • setEnforceStrictResources

      void setEnforceStrictResources(Boolean enforceStrictResources)
      Parameters:
      enforceStrictResources - the enforceStrictResources to set
    • getIncrementalCompileWarnings

      Boolean getIncrementalCompileWarnings()
    • setIncrementalCompileWarnings

      void setIncrementalCompileWarnings(Boolean incrementalCompileWarnings)
      Parameters:
      incrementalCompileWarnings - the incrementalCompileWarnings to set
    • getOverlappingSourceWarnings

      Boolean getOverlappingSourceWarnings()
    • setOverlappingSourceWarnings

      void setOverlappingSourceWarnings(Boolean overlappingSourceWarnings)
      Parameters:
      overlappingSourceWarnings - the overlappingSourceWarnings to set
    • getSaveSource

      Boolean getSaveSource()
    • setSaveSource

      void setSaveSource(Boolean saveSource)
      Parameters:
      saveSource - the saveSource to set
    • getSaveSourceOutput

      File getSaveSourceOutput()
    • setSaveSourceOutput

      void setSaveSourceOutput(File saveSourceOutput)
      Parameters:
      saveSourceOutput - the saveSourceOutput to set
    • getClosureFormattedOutput

      Boolean getClosureFormattedOutput()
    • setClosureFormattedOutput

      void setClosureFormattedOutput(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.