public class ExtractTask extends CachedTask
CachedTask.Cached, CachedTask.Excluded| 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() |
org.gradle.api.file.FileCollection |
getSourcePaths() |
ExtractTask |
include(java.lang.String... paterns) |
ExtractTask |
into(DelayedFile target) |
boolean |
isIncludeEmptyDirs() |
void |
setClean(boolean clean) |
ExtractTask |
setDestinationDir(DelayedFile target) |
void |
setIncludeEmptyDirs(boolean includeEmptyDirs) |
boolean |
shouldClean() |
doesCache, setDoesCacheaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic 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 org.gradle.api.file.FileCollection getSourcePaths()
public boolean isIncludeEmptyDirs()
public void setIncludeEmptyDirs(boolean includeEmptyDirs)
protected boolean defaultCache()
defaultCache in class CachedTaskpublic boolean shouldClean()
public void setClean(boolean clean)