Class AbstractGwtTask

  • All Implemented Interfaces:
    java.lang.Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>
    Direct Known Subclasses:
    AbstractGwtCompile, GwtDev

    public abstract class AbstractGwtTask
    extends AbstractGwtActionTask
    Base class for several GWT related tasks that share specific parameters.
    • Constructor Detail

      • AbstractGwtTask

        public AbstractGwtTask​(java.lang.String main)
    • Method Detail

      • addArgs

        protected void addArgs()
        Description copied from class: AbstractGwtActionTask
        Called directly before executing this task. Subclasses are expected to add all args/javaArgs needed for the execution.
        Specified by:
        addArgs in class AbstractGwtActionTask
      • getWar

        public getWar()
      • setWar

        public void setWar​( war)
        Sets the "-war" option.
        war - The "-war" option specified.
      • getDeploy

        public getDeploy()
      • setDeploy

        public void setDeploy​( deploy)
        Sets the "-deploy" option.
        deploy - The "-deploy" option specified.
      • getExtra

        public getExtra()
      • setExtra

        public void setExtra​( extra)
        Sets the "-extra" option.
        extra - The "-extra" option specified.
      • getWorkDir

        public getWorkDir()
      • setWorkDir

        public void setWorkDir​( workDir)
        Sets the "-workDir" option.
        workDir - The "-workDir" option specified.
      • getGen

        public getGen()
      • setGen

        public void setGen​( gen)
        Sets the "-gen" option.
        gen - The "-gen" option specified.
      • getCacheDir

        public getCacheDir()
      • setCacheDir

        public void setCacheDir​( cacheDir)
        Sets the directory where to put the persistent unit cache.
        cacheDir - The cache dir specified.