public interface BugReporter extends RepositoryLookupFailureCallback, IClassObserver
Modifier and Type | Field and Description |
---|---|
static int |
NORMAL
Normal error-reporting verbosity level.
|
static int |
SILENT
Silent error-reporting verbosity level.
|
Modifier and Type | Method and Description |
---|---|
void |
addObserver(BugReporterObserver observer)
Add an observer.
|
void |
finish()
Finish reporting bugs.
|
BugCollection |
getBugCollection()
Get the bug collection (if any) associated with this bug reporter
|
ProjectStats |
getProjectStats()
Get ProjectStats object used to store statistics about the overall
project being analyzed.
|
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.
|
logError, logError, reportMissingClass, reportMissingClass, reportSkippedAnalysis
observeClass
static final int SILENT
static final int NORMAL
void setErrorVerbosity(int level)
level
- the verbosity levelvoid setPriorityThreshold(int threshold)
threshold
- bug instances must be at least as important as this priority
to be reportedvoid reportBug(@Nonnull BugInstance bugInstance)
bugInstance
- object describing the bug instancevoid finish()
void reportQueuedErrors()
void addObserver(BugReporterObserver observer)
observer
- the observerProjectStats getProjectStats()
@CheckForNull BugCollection getBugCollection()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.