Package org.codehaus.plexus.util
Class DirectoryWalker
java.lang.Object
org.codehaus.plexus.util.DirectoryWalker
DirectoryWalker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addExclude
(String exclude) void
addInclude
(String include) void
Add's to the Exclude List the default list of SCM excludes.void
Removes a DirectoryWalkListener.void
scan()
Performs a Scan against the providedsetBaseDir(File)
void
setBaseDir
(File baseDir) void
setDebugMode
(boolean debugEnabled) void
setExcludes
(List<String> entries) void
setIncludes
(List<String> entries)
-
Constructor Details
-
DirectoryWalker
public DirectoryWalker()
-
-
Method Details
-
addDirectoryWalkListener
-
addExclude
-
addInclude
-
addSCMExcludes
public void addSCMExcludes()Add's to the Exclude List the default list of SCM excludes. -
setDebugMode
public void setDebugMode(boolean debugEnabled) -
getBaseDir
- Returns:
- Returns the baseDir.
-
getExcludes
- Returns:
- Returns the excludes.
-
getIncludes
- Returns:
- Returns the includes.
-
removeDirectoryWalkListener
Removes a DirectoryWalkListener.- Parameters:
listener
- the listener to remove.
-
scan
public void scan()Performs a Scan against the providedsetBaseDir(File)
-
setBaseDir
- Parameters:
baseDir
- The baseDir to set.
-
setExcludes
- Parameters:
entries
- The excludes to set.
-
setIncludes
- Parameters:
entries
- The includes to set.
-