Interface GwtCompileOptions

    • 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
      • 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()