edu.umd.cs.findbugs
public interface BugReporter extends RepositoryLookupFailureCallback, IClassObserver
Field Summary | |
---|---|
static int | NORMAL
Normal error-reporting verbosity level. |
static int | SILENT
Silent error-reporting verbosity level. |
Method Summary | |
---|---|
void | addObserver(BugReporterObserver observer)
Add an observer.
|
void | finish()
Finish reporting bugs.
|
ProjectStats | getProjectStats()
Get ProjectStats object used to store statistics about
the overall project being analyzed. |
BugReporter | getRealBugReporter()
Get the real bug reporter at the end of a chain of delegating bug reporters.
|
void | reportBug(BugInstance bugInstance)
Report a bug.
|
void | reportQueuedErrors()
Report any accumulated error messages. |
void | setErrorVerbosity(int level)
Set the error-reporting verbosity level.
|
void | setPriorityThreshold(int threshold)
Set the priority threshold.
|
Parameters: observer the observer
Returns: the real bug reporter at the end of the chain, or this object if there is no delegation
Parameters: bugInstance object describing the bug instance
Parameters: level the verbosity level
Parameters: threshold bug instances must be at least as important as this priority to be reported