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:
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
Base class for several GWT related tasks that share specific parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Task
org.gradle.api.Task.Namer
-
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addArgs()
Called directly before executing this task.getExtra()
getGen()
getWar()
void
setCacheDir
(File cacheDir) Sets the directory where to put the persistent unit cache.void
Sets the "-deploy" option.void
Sets the "-extra" option.void
Sets the "-gen" option.void
Sets the "-war" option.void
setWorkDir
(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, jvmArgs, prependSrcToClasspath, setClasspath, setDebug, setExtraJvmArgs, setGwtVersion, setIncremental, setJsInteropExports, setJsInteropMode, setLogLevel, setMaxHeapSize, setMethodNameDisplayMode, setMinHeapSize, setModules, setSourceLevel, setSrc
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.gradle.api.Task
getConvention
-
Constructor Details
-
AbstractGwtTask
-
-
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 classAbstractGwtActionTask
-
getWar
-
setWar
Sets the "-war" option.- Parameters:
war
- The "-war" option specified.
-
getDeploy
-
setDeploy
Sets the "-deploy" option.- Parameters:
deploy
- The "-deploy" option specified.
-
getExtra
-
setExtra
Sets the "-extra" option.- Parameters:
extra
- The "-extra" option specified.
-
getWorkDir
-
setWorkDir
Sets the "-workDir" option.- Parameters:
workDir
- The "-workDir" option specified.
-
getGen
-
setGen
Sets the "-gen" option.- Parameters:
gen
- The "-gen" option specified.
-
getCacheDir
-
setCacheDir
Sets the directory where to put the persistent unit cache.- Parameters:
cacheDir
- The cache dir specified.
-