Package org.docstr.gradle.plugins.gwt
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:
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 Summary
Constructors Constructor Description AbstractGwtTask(java.lang.String main)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddArgs()Called directly before executing this task.java.io.FilegetCacheDir()java.io.FilegetDeploy()java.io.FilegetExtra()java.io.FilegetGen()java.io.FilegetWar()java.io.FilegetWorkDir()voidsetCacheDir(java.io.File cacheDir)Sets the directory where to put the persistent unit cache.voidsetDeploy(java.io.File deploy)Sets the "-deploy" option.voidsetExtra(java.io.File extra)Sets the "-extra" option.voidsetGen(java.io.File gen)Sets the "-gen" option.voidsetWar(java.io.File war)Sets the "-war" option.voidsetWorkDir(java.io.File workDir)Sets the "-workDir" option.-
Methods inherited from class org.docstr.gradle.plugins.gwt.AbstractGwtActionTask
argIfEnabled, argIfSet, argOnOff, args, dirArgIfSet, exec, getClasspath, getExtraJvmArgs, getGwtVersion, getIncremental, getJsInteropExports, getJsInteropMode, getLogLevel, getMaxHeapSize, getMethodNameDisplayMode, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, isUseToolchain, jvmArgs, prependSrcToClasspath, setClasspath, setDebug, setExtraJvmArgs, setGwtVersion, setIncremental, setJsInteropExports, setJsInteropMode, setLogLevel, setMaxHeapSize, setMethodNameDisplayMode, setMinHeapSize, setModules, setSourceLevel, setSrc, setUseToolchain
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
-
-
-
-
Method Detail
-
addArgs
protected void addArgs()
Description copied from class:AbstractGwtActionTaskCalled directly before executing this task. Subclasses are expected to add all args/javaArgs needed for the execution.- Specified by:
addArgsin classAbstractGwtActionTask
-
getWar
@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.
-
-