Package org.gradle.api.file
Interface DirectoryTree
-
- All Known Subinterfaces:
ConfigurableFileTree
public interface DirectoryTreeA directory with some associated include and exclude patterns.
This interface does not allow mutation. However, the actual implementation may not be immutable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.FilegetDir()Returns the base directory of this tree.PatternSetgetPatterns()Returns the patterns which select the files under the base directory.
-
-
-
Method Detail
-
getDir
java.io.File getDir()
Returns the base directory of this tree.- Returns:
- The base dir, never returns null.
-
getPatterns
PatternSet getPatterns()
Returns the patterns which select the files under the base directory.- Returns:
- The patterns, never returns null.
-
-