IClassObserver
, IErrorLogger
, RepositoryLookupFailureCallback
AbstractBugReporter
, BugCollectionBugReporter
, CategoryFilteringBugReporter
, DelegatingBugReporter
, EmacsBugReporter
, ErrorCountingBugReporter
, ExcludingHashesBugReporter
, FilterBugReporter
, HTMLBugReporter
, PrintingBugReporter
, SortingBugReporter
, SwingGUIBugReporter
, TextUIBugReporter
, XDocsBugReporter
, XMLBugReporter
public interface BugReporter extends RepositoryLookupFailureCallback, IClassObserver
Modifier and Type | Field | Description |
---|---|---|
static int |
NORMAL |
Normal error-reporting verbosity level.
|
static int |
SILENT |
Silent error-reporting verbosity level.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
observeClass
logError, logError, reportMissingClass, reportMissingClass, reportSkippedAnalysis
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()
BugReporter getRealBugReporter()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.