|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SourceDirectorySet
A SourceDirectorySet represents a set of source files composed from a set of source directories, along
with associated include and exclude patterns.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.gradle.api.file.FileCollection |
|---|
FileCollection.AntType |
| Method Summary | |
|---|---|
PatternFilterable |
getFilter()
Returns the filter used to select the source from the source directories. |
java.util.Set<java.io.File> |
getSrcDirs()
Returns the source directories which make up this set. |
SourceDirectorySet |
setSrcDirs(java.lang.Iterable<java.lang.Object> 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 org.gradle.api.file.FileTree |
|---|
matching, matching, plus, visit, visit |
| Methods inherited from interface org.gradle.api.file.FileCollection |
|---|
add, addToAntBuilder, addToAntBuilder, asType, getAsFileTree, getAsPath, getFiles, getSingleFile, plus, stopExecutionIfEmpty |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.gradle.api.Buildable |
|---|
getBuildDependencies |
| Methods inherited from interface org.gradle.api.tasks.util.PatternFilterable |
|---|
exclude, exclude, getExcludes, getIncludes, include, include, setExcludes, setIncludes |
| Method Detail |
|---|
SourceDirectorySet srcDir(java.lang.Object srcPath)
srcPath - The source directory. This is evaluated as for Project.file(Object)
SourceDirectorySet srcDirs(java.lang.Object... srcPaths)
srcPaths - The source directories. These are evaluated as for Project.files(Object...)
java.util.Set<java.io.File> getSrcDirs()
SourceDirectorySet setSrcDirs(java.lang.Iterable<java.lang.Object> srcPaths)
srcPaths - The source directories. These are evaluated as for Project.files(Object...)
PatternFilterable getFilter()
*.java.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||