|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileCopyDetails
Provides details about a file or directory about to be copied, and allows some aspects of the destination file to be modified.
Using this interface, you can change the destination path of the file, filter the content of the file, or exclude the file from the result entirely.
Method Summary | |
---|---|
void |
exclude()
Excludes this file from the copy. |
void |
setName(String name)
Sets the destination name of this file. |
void |
setPath(String path)
Sets the destination path of this file. |
void |
setRelativePath(RelativePath path)
Sets the destination path of this file. |
Methods inherited from interface org.gradle.api.file.FileTreeElement |
---|
copyTo, copyTo, getFile, getLastModified, getName, getPath, getRelativePath, getSize, isDirectory, open |
Methods inherited from interface org.gradle.api.file.ContentFilterable |
---|
expand, filter, filter, filter |
Method Detail |
---|
void exclude()
void setName(String name)
name
- The name of this file.void setPath(String path)
path
- The path of this file.void setRelativePath(RelativePath path)
path
- the new path for this file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |