Package edu.umd.cs.findbugs
Interface FindBugsProgress
- All Superinterfaces:
IClassPathBuilderProgress
- All Known Implementing Classes:
NoOpFindBugsProgress
,TextUIProgressCallback
A callback that may be installed in a FindBugs instance to asynchronously
keep track of its progress.
- Author:
- David Hovemeyer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Report that FindBugs has finished scanning an archive in order to add its classes to the repository.void
Report that FindBugs has finished analyzing a class.void
Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.void
predictPassCount
(int[] classesPerPass) Provide an array that predicts the number of classes in each passvoid
reportNumberOfArchives
(int numArchives) Report the total number of archives (Jar or zip files) that will be analyzed.void
startAnalysis
(int numClasses) Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.void
startArchive
(String name) Report that FindBugs has started scanning an archive in order to add its classes to the repository.
-
Method Details
-
reportNumberOfArchives
void reportNumberOfArchives(int numArchives) Report the total number of archives (Jar or zip files) that will be analyzed.- Parameters:
numArchives
- the number of archives
-
startArchive
Report that FindBugs has started scanning an archive in order to add its classes to the repository.- Specified by:
startArchive
in interfaceIClassPathBuilderProgress
-
finishArchive
void finishArchive()Report that FindBugs has finished scanning an archive in order to add its classes to the repository.- Specified by:
finishArchive
in interfaceIClassPathBuilderProgress
-
predictPassCount
void predictPassCount(int[] classesPerPass) Provide an array that predicts the number of classes in each pass- Parameters:
classesPerPass
-
-
startAnalysis
void startAnalysis(int numClasses) Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.- Parameters:
numClasses
- number of classes found in all of the archives
-
finishClass
void finishClass()Report that FindBugs has finished analyzing a class. -
finishPerClassAnalysis
void finishPerClassAnalysis()Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.
-