public class DirectoryWalker extends Object
Constructor and Description |
---|
DirectoryWalker() |
Modifier and Type | Method and Description |
---|---|
void |
addDirectoryWalkListener(DirectoryWalkListener listener) |
void |
addExclude(String exclude) |
void |
addInclude(String include) |
void |
addSCMExcludes()
Add's to the Exclude List the default list of SCM excludes.
|
File |
getBaseDir() |
List<String> |
getExcludes() |
List<String> |
getIncludes() |
void |
removeDirectoryWalkListener(DirectoryWalkListener listener)
Removes a DirectoryWalkListener.
|
void |
scan()
Performs a Scan against the provided
setBaseDir(File) |
void |
setBaseDir(File baseDir) |
void |
setDebugMode(boolean debugEnabled) |
void |
setExcludes(List<String> entries) |
void |
setIncludes(List<String> entries) |
public void addDirectoryWalkListener(DirectoryWalkListener listener)
public void addExclude(String exclude)
public void addInclude(String include)
public void addSCMExcludes()
public void setDebugMode(boolean debugEnabled)
public File getBaseDir()
public void removeDirectoryWalkListener(DirectoryWalkListener listener)
listener
- the listener to remove.public void scan()
setBaseDir(File)
public void setBaseDir(File baseDir)
baseDir
- The baseDir to set.public void setExcludes(List<String> entries)
entries
- The excludes to set.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.