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

        @Optional
        @OutputDirectory
        public java.io.File getWar()
      • setWar

        public void setWar​(java.io.File war)
        Sets the "-war" option.
        Parameters:
        war - The "-war" option specified.
      • getDeploy

        @Optional
        @OutputDirectory
        public java.io.File getDeploy()
      • setDeploy

        public void setDeploy​(java.io.File deploy)
        Sets the "-deploy" option.
        Parameters:
        deploy - The "-deploy" option specified.
      • getExtra

        @Optional
        @OutputDirectory
        public java.io.File getExtra()
      • setExtra

        public void setExtra​(java.io.File extra)
        Sets the "-extra" option.
        Parameters:
        extra - The "-extra" option specified.
      • getWorkDir

        @Internal
        public java.io.File getWorkDir()
      • setWorkDir

        public void setWorkDir​(java.io.File workDir)
        Sets the "-workDir" option.
        Parameters:
        workDir - The "-workDir" option specified.
      • getGen

        @Optional
        @OutputDirectory
        public java.io.File getGen()
      • setGen

        public void setGen​(java.io.File gen)
        Sets the "-gen" option.
        Parameters:
        gen - The "-gen" option specified.
      • getCacheDir

        @Internal
        public java.io.File getCacheDir()
      • setCacheDir

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