|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.AbstractCopyTask
public abstract class AbstractCopyTask extends ConventionTask
AbstractCopyTask is the base class for all copy tasks.
Constructor Summary | |
protected AbstractCopyTask()
|
Method Summary | |
---|---|
protected void
|
configureRootSpec()
|
protected void
|
copy()
|
protected CopyAction
|
createCopyAction()
|
protected CopySpecInternal
|
createRootSpec()
|
AbstractCopyTask
|
eachFile(Action action)
{@inheritDoc} |
AbstractCopyTask
|
eachFile(Closure closure)
{@inheritDoc} |
AbstractCopyTask
|
exclude(String... excludes)
{@inheritDoc} |
AbstractCopyTask
|
exclude(Iterable excludes)
{@inheritDoc} |
AbstractCopyTask
|
exclude(Spec excludeSpec)
{@inheritDoc} |
AbstractCopyTask
|
exclude(Closure excludeSpec)
{@inheritDoc} |
AbstractCopyTask
|
expand(Map properties)
{@inheritDoc} |
AbstractCopyTask
|
filesMatching(String pattern, Action action)
{@inheritDoc} |
AbstractCopyTask
|
filesNotMatching(String pattern, Action action)
{@inheritDoc} |
AbstractCopyTask
|
filter(Map properties, Class filterType)
{@inheritDoc} |
AbstractCopyTask
|
filter(Class filterType)
{@inheritDoc} |
AbstractCopyTask
|
filter(Closure closure)
{@inheritDoc} |
AbstractCopyTask
|
from(Object... sourcePaths)
{@inheritDoc} |
AbstractCopyTask
|
from(Object sourcePath, Closure c)
{@inheritDoc} |
FileCollection
|
getDefaultSource()
Returns the default source for this task. |
Integer
|
getDirMode()
{@inheritDoc} |
DuplicatesStrategy
|
getDuplicatesStrategy()
{@inheritDoc} |
Set
|
getExcludes()
{@inheritDoc} |
Integer
|
getFileMode()
{@inheritDoc} |
boolean
|
getIncludeEmptyDirs()
{@inheritDoc} |
Set
|
getIncludes()
{@inheritDoc} |
protected CopySpecInternal
|
getMainSpec()
|
CopySpecInternal
|
getRootSpec()
|
FileCollection
|
getSource()
Returns the source files for this task. |
AbstractCopyTask
|
include(String... includes)
{@inheritDoc} |
AbstractCopyTask
|
include(Iterable includes)
{@inheritDoc} |
AbstractCopyTask
|
include(Spec includeSpec)
{@inheritDoc} |
AbstractCopyTask
|
include(Closure includeSpec)
{@inheritDoc} |
AbstractCopyTask
|
into(Object destDir)
{@inheritDoc} |
AbstractCopyTask
|
into(Object destPath, Closure configureClosure)
{@inheritDoc} |
boolean
|
isCaseSensitive()
{@inheritDoc} |
AbstractCopyTask
|
rename(Closure closure)
{@inheritDoc} |
AbstractCopyTask
|
rename(String sourceRegEx, String replaceWith)
{@inheritDoc} |
AbstractCopyTask
|
rename(Pattern sourceRegEx, String replaceWith)
{@inheritDoc} |
void
|
setCaseSensitive(boolean caseSensitive)
{@inheritDoc} |
AbstractCopyTask
|
setDirMode(Integer mode)
{@inheritDoc} |
void
|
setDuplicatesStrategy(DuplicatesStrategy strategy)
{@inheritDoc} |
AbstractCopyTask
|
setExcludes(Iterable excludes)
{@inheritDoc} |
AbstractCopyTask
|
setFileMode(Integer mode)
{@inheritDoc} |
void
|
setIncludeEmptyDirs(boolean includeEmptyDirs)
{@inheritDoc} |
AbstractCopyTask
|
setIncludes(Iterable includes)
{@inheritDoc} |
CopySpec
|
with(CopySpec... sourceSpecs)
{@inheritDoc} |
Constructor Detail |
---|
protected AbstractCopyTask()
Method Detail |
---|
protected void configureRootSpec()
@TaskAction protected void copy()
protected CopyAction createCopyAction()
protected CopySpecInternal createRootSpec()
public AbstractCopyTask eachFile(Action action)
public AbstractCopyTask eachFile(Closure closure)
public AbstractCopyTask exclude(String... excludes)
public AbstractCopyTask exclude(Iterable excludes)
public AbstractCopyTask exclude(Spec excludeSpec)
public AbstractCopyTask exclude(Closure excludeSpec)
public AbstractCopyTask expand(Map properties)
public AbstractCopyTask filesMatching(String pattern, Action action)
public AbstractCopyTask filesNotMatching(String pattern, Action action)
public AbstractCopyTask filter(Map properties, Class filterType)
public AbstractCopyTask filter(Class filterType)
public AbstractCopyTask filter(Closure closure)
public AbstractCopyTask from(Object... sourcePaths)
public AbstractCopyTask from(Object sourcePath, Closure c)
@Deprecated public FileCollection getDefaultSource()
public Integer getDirMode()
public DuplicatesStrategy getDuplicatesStrategy()
public Set getExcludes()
public Integer getFileMode()
public boolean getIncludeEmptyDirs()
public Set getIncludes()
protected CopySpecInternal getMainSpec()
public CopySpecInternal getRootSpec()
@InputFiles @SkipWhenEmpty @Optional public FileCollection getSource()
public AbstractCopyTask include(String... includes)
public AbstractCopyTask include(Iterable includes)
public AbstractCopyTask include(Spec includeSpec)
public AbstractCopyTask include(Closure includeSpec)
public AbstractCopyTask into(Object destDir)
public AbstractCopyTask into(Object destPath, Closure configureClosure)
public boolean isCaseSensitive()
public AbstractCopyTask rename(Closure closure)
public AbstractCopyTask rename(String sourceRegEx, String replaceWith)
public AbstractCopyTask rename(Pattern sourceRegEx, String replaceWith)
public void setCaseSensitive(boolean caseSensitive)
public AbstractCopyTask setDirMode(Integer mode)
public void setDuplicatesStrategy(DuplicatesStrategy strategy)
public AbstractCopyTask setExcludes(Iterable excludes)
public AbstractCopyTask setFileMode(Integer mode)
public void setIncludeEmptyDirs(boolean includeEmptyDirs)
public AbstractCopyTask setIncludes(Iterable includes)
public CopySpec with(CopySpec... sourceSpecs)
Gradle API 1.12