|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.DiscoverSourceDirectories
public class DiscoverSourceDirectories
Based on the contents of the application directories/archives in a Project, and a "root" source directory (under which some number of "real" source directories may be located), scan to find the source directories containing the application's source files.
| Nested Class Summary | |
|---|---|
static interface |
DiscoverSourceDirectories.Progress
Progress callback interface for reporting the progress of source directory discovery. |
| Constructor Summary | |
|---|---|
DiscoverSourceDirectories()
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute()
Execute the search for source directories. |
java.util.List<java.lang.String> |
getDiscoveredSourceDirectoryList()
Get the list of discovered source directories. |
static void |
main(java.lang.String[] args)
Just for testing. |
void |
setErrorLogger(IErrorLogger errorLogger)
Set the error logger to use to report errors during scanning. |
void |
setProgress(DiscoverSourceDirectories.Progress progress)
Set the progress callback to which scanning progress should be reported. |
void |
setProject(Project project)
Set the Project for which we want to find source directories. |
void |
setRootSourceDirectory(java.lang.String rootSourceDirectory)
Set the "root" source directory: we expect all of the actual source directories to be underneath it. |
void |
setScanForNestedArchives(boolean scanForNestedArchives)
Set whether or not to scan the project for nested archives (i.e., if there is a WAR or EAR file that contains jar files inside it.) Default is false. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscoverSourceDirectories()
| Method Detail |
|---|
public void setProject(Project project)
project - Project for which we want to find source directoriespublic void setRootSourceDirectory(java.lang.String rootSourceDirectory)
rootSourceDirectory - the root source directorypublic void setScanForNestedArchives(boolean scanForNestedArchives)
scanForNestedArchives - true if nested archives should be scanned,
false otherwisepublic void setErrorLogger(IErrorLogger errorLogger)
errorLogger - error logger to use to report errors during scanningpublic void setProgress(DiscoverSourceDirectories.Progress progress)
progress - the progress callbackpublic java.util.List<java.lang.String> getDiscoveredSourceDirectoryList()
public void execute()
throws CheckedAnalysisException,
java.io.IOException,
java.lang.InterruptedException
CheckedAnalysisException
java.io.IOException
java.lang.InterruptedException
public static void main(java.lang.String[] args)
throws java.io.IOException,
CheckedAnalysisException,
java.lang.InterruptedException
java.io.IOException
CheckedAnalysisException
java.lang.InterruptedException
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||