public class ExtractTask extends CachedTask
CachedTask.Cached, CachedTask.ExcludedTask.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
ExtractTask() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
defaultCache() |
void |
doTask() |
void |
exclude(groovy.lang.Closure<java.lang.Boolean> c) |
ExtractTask |
exclude(java.lang.String... paterns) |
ExtractTask |
from(DelayedFile... paths) |
java.io.File |
getDestinationDir() |
java.util.List<groovy.lang.Closure<java.lang.Boolean>> |
getExcludeCalls() |
java.util.List<java.lang.String> |
getExcludes() |
java.util.List<java.lang.String> |
getIncludes() |
FileCollection |
getSourcePaths() |
ExtractTask |
include(java.lang.String... paterns) |
ExtractTask |
into(DelayedFile target) |
boolean |
isClean() |
boolean |
isIncludeEmptyDirs() |
void |
setClean(boolean clean) |
ExtractTask |
setDestinationDir(DelayedFile target) |
void |
setIncludeEmptyDirs(boolean includeEmptyDirs) |
boolean |
shouldClean() |
doesCache, setDoesCachecompareTo, 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, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConventionpublic void doTask()
throws java.io.IOException
java.io.IOExceptionpublic ExtractTask from(DelayedFile... paths)
public ExtractTask into(DelayedFile target)
public ExtractTask setDestinationDir(DelayedFile target)
public java.io.File getDestinationDir()
public java.util.List<java.lang.String> getIncludes()
public ExtractTask include(java.lang.String... paterns)
public java.util.List<java.lang.String> getExcludes()
public ExtractTask exclude(java.lang.String... paterns)
public java.util.List<groovy.lang.Closure<java.lang.Boolean>> getExcludeCalls()
public void exclude(groovy.lang.Closure<java.lang.Boolean> c)
public FileCollection getSourcePaths()
public boolean isIncludeEmptyDirs()
public void setIncludeEmptyDirs(boolean includeEmptyDirs)
protected boolean defaultCache()
defaultCache in class CachedTaskpublic boolean shouldClean()
@Input public boolean isClean()
public void setClean(boolean clean)