|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.file.FileCollectionorg.gradle.api.file.SourceDirectorySet
org.gradle.api.file.FileTree
interface SourceDirectorySet extends FileTree
A SourceDirectorySet represents a set of source files composed from a set of source directories, along with associated include and exclude patterns.
TODO - configure includes/excludes for individual source dirs, and sync up with CopySpec TODO - allow add FileTreeMethod Summary | |
---|---|
PatternFilterable
|
getFilter()
Returns the filter used to select the source from the source directories. |
Set
|
getSrcDirs()
Returns the source directories which make up this set. |
SourceDirectorySet
|
setSrcDirs(java.lang.Iterable srcPaths)
Sets the source directories for this set. |
SourceDirectorySet
|
srcDir(java.lang.Object srcPath)
Adds the given source directory to this set. |
SourceDirectorySet
|
srcDirs(java.lang.Object srcPaths)
Adds the given source directories to this set. |
Methods inherited from interface FileTree | |
---|---|
matching, matching, plus, visit, visit |
Methods inherited from interface FileCollection | |
---|---|
add, addToAntBuilder, addToAntBuilder, asType, getAsFileTree, getAsPath, getFiles, getSingleFile, plus, stopExecutionIfEmpty |
Methods inherited from interface java.lang.Iterable | |
---|---|
iterator |
Methods inherited from class java.lang.Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Method Detail |
---|
public PatternFilterable getFilter()
public Set getSrcDirs()
public SourceDirectorySet setSrcDirs(java.lang.Iterable srcPaths)
public SourceDirectorySet srcDir(java.lang.Object srcPath)
public SourceDirectorySet srcDirs(java.lang.Object srcPaths)
Groovy Documentation