RepositoryLookupFailureCallback
, BugReporter
, IClassObserver
, IErrorLogger
public class ErrorCountingBugReporter extends DelegatingBugReporter
NORMAL, SILENT
Constructor | Description |
---|---|
ErrorCountingBugReporter(BugReporter realBugReporter) |
Modifier and Type | Method | Description |
---|---|---|
int |
getBugCount() |
|
int |
getErrorCount() |
|
int |
getMissingClassCount() |
|
void |
logError(java.lang.String message) |
Log an error that occurs while performing analysis.
|
void |
reportMissingClass(java.lang.ClassNotFoundException ex) |
Called to report a class lookup failure.
|
addObserver, finish, getBugCollection, getDelegate, getProjectStats, logError, observeClass, reportBug, reportMissingClass, reportQueuedErrors, reportSkippedAnalysis, setErrorVerbosity, setPriorityThreshold
public ErrorCountingBugReporter(BugReporter realBugReporter)
public int getBugCount()
public int getMissingClassCount()
public int getErrorCount()
public void logError(java.lang.String message)
IErrorLogger
logError
in interface IErrorLogger
logError
in class DelegatingBugReporter
message
- the error messagepublic void reportMissingClass(java.lang.ClassNotFoundException ex)
IErrorLogger
reportMissingClass
in interface IErrorLogger
reportMissingClass
in class DelegatingBugReporter
ex
- a ClassNotFoundException resulting from the class lookup
failureSpotBugs is licensed under the LGPL.