@CacheableTask
public class ExtractTask
extends org.gradle.api.DefaultTask
| 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 org.gradle.api.model.ObjectFactory |
getInjectedObjectFactory() |
org.gradle.api.file.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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectspublic 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()
@Inject protected org.gradle.api.model.ObjectFactory getInjectedObjectFactory()
public boolean isIncludeEmptyDirs()
public void setIncludeEmptyDirs(boolean includeEmptyDirs)
public boolean shouldClean()
@Input public boolean isClean()
public void setClean(boolean clean)