|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.tasks.copy.BreadthFirstDirectoryWalker
class BreadthFirstDirectoryWalker
Directory walker supporting Specs for includes and excludes. The file system is traversed breadth first - all files in a directory will be visited before any child directory is visited. A file or directory will only be visited if it matches all includes and no excludes.
Constructor Summary | |
BreadthFirstDirectoryWalker(boolean caseSensitive, FileVisitor visitor)
|
Method Summary | |
---|---|
void
|
addExcludes(List excludes)
|
void
|
addIncludes(List includes)
|
boolean
|
isAllowed(RelativePath path)
|
void
|
start(File startFile)
Process the specified file or directory. |
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Constructor Detail |
---|
public BreadthFirstDirectoryWalker(boolean caseSensitive, FileVisitor visitor)
Method Detail |
---|
public void addExcludes(List excludes)
public void addIncludes(List includes)
public boolean isAllowed(RelativePath path)
public void start(File startFile)
Groovy Documentation