@CacheableTask public class ExtractTask extends DefaultTask
Task.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 |
|---|---|
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() |
protected ObjectFactory |
getInjectedObjectFactory() |
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() |
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, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCachepublic 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()
@Inject protected ObjectFactory getInjectedObjectFactory()
public boolean isIncludeEmptyDirs()
public void setIncludeEmptyDirs(boolean includeEmptyDirs)
public boolean shouldClean()
@Input public boolean isClean()
public void setClean(boolean clean)