Class AbstractGwtTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.docstr.gradle.plugins.gwt.AbstractGwtActionTask
org.docstr.gradle.plugins.gwt.AbstractGwtTask
All Implemented Interfaces:
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 Details

    • AbstractGwtTask

      public AbstractGwtTask(String main)
  • Method Details

    • 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

      @OutputDirectory public File getWar()
    • setWar

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

      @Optional @OutputDirectory public File getDeploy()
    • setDeploy

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

      @Optional @OutputDirectory public File getExtra()
    • setExtra

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

      @Internal public File getWorkDir()
    • setWorkDir

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

      @Optional @OutputDirectory public File getGen()
    • setGen

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

      @Internal public File getCacheDir()
    • setCacheDir

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