|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.umd.cs.findbugs.DelegatingBugReporter
org.codehaus.mojo.findbugs.XDocsReporter
public final class XDocsReporter
The reporter controls the generation of the FindBugs report. It contains call back methods which gets called by FindBugs if a bug is found.
| Field Summary |
|---|
| Fields inherited from interface edu.umd.cs.findbugs.BugReporter |
|---|
NORMAL, SILENT |
| Constructor Summary | |
|---|---|
XDocsReporter(edu.umd.cs.findbugs.BugReporter realBugReporter)
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
addBugReport(edu.umd.cs.findbugs.BugInstance bugInstance)
|
protected void |
closeClassReportSection()
Closes the class report section. |
protected String |
evaluateThresholdParameter(int thresholdValue)
Returns the threshold string value for the integer input. |
void |
finish()
|
EffortParameter |
getEffort()
|
protected String |
getFindBugsVersion()
Gets the Findbugs Version of the report. |
org.apache.maven.plugin.logging.Log |
getLog()
|
Writer |
getOutputWriter()
|
ResourceBundle |
getResourceBundle()
|
FindbugsXdocSink |
getSink()
|
ThresholdParameter |
getThreshold()
|
void |
logError(String message)
|
void |
logError(String message,
Throwable e)
|
void |
observeClass(edu.umd.cs.findbugs.classfile.ClassDescriptor classDescriptor)
Observe a class. |
protected void |
printErrors()
Closes the class report section. |
void |
reportMissingClass(edu.umd.cs.findbugs.classfile.ClassDescriptor classDescriptor)
|
void |
reportMissingClass(ClassNotFoundException ex)
|
void |
setEffort(EffortParameter effort)
|
void |
setLog(org.apache.maven.plugin.logging.Log log)
|
void |
setOutputWriter(Writer outputWriter)
|
void |
setResourceBundle(ResourceBundle resourceBundle)
|
void |
setThreshold(ThresholdParameter threshold)
|
protected String |
valueForLine(edu.umd.cs.findbugs.SourceLineAnnotation pLine)
Return the value to display. |
| Methods inherited from class edu.umd.cs.findbugs.DelegatingBugReporter |
|---|
addObserver, getDelegate, getProjectStats, getRealBugReporter, reportBug, reportQueuedErrors, reportSkippedAnalysis, setDelegate, setErrorVerbosity, setPriorityThreshold |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XDocsReporter(edu.umd.cs.findbugs.BugReporter realBugReporter)
realBugReporter - the BugReporter to Delegate| Method Detail |
|---|
public void finish()
finish in interface edu.umd.cs.findbugs.BugReporterfinish in class edu.umd.cs.findbugs.DelegatingBugReporterBugReporter.finish()public EffortParameter getEffort()
public org.apache.maven.plugin.logging.Log getLog()
public Writer getOutputWriter()
public ResourceBundle getResourceBundle()
public FindbugsXdocSink getSink()
public ThresholdParameter getThreshold()
public void logError(String message)
logError in interface edu.umd.cs.findbugs.classfile.IErrorLoggerlogError in class edu.umd.cs.findbugs.DelegatingBugReporter
public void logError(String message,
Throwable e)
logError in interface edu.umd.cs.findbugs.classfile.IErrorLoggerlogError in class edu.umd.cs.findbugs.DelegatingBugReporterpublic void observeClass(edu.umd.cs.findbugs.classfile.ClassDescriptor classDescriptor)
observeClass in interface edu.umd.cs.findbugs.classfile.IClassObserverobserveClass in class edu.umd.cs.findbugs.DelegatingBugReporterclassDescriptor - The Class to Observe#observeClass(edu.umd.cs.findbugs.classfile.ClassDescriptor)public void reportMissingClass(edu.umd.cs.findbugs.classfile.ClassDescriptor classDescriptor)
reportMissingClass in interface edu.umd.cs.findbugs.classfile.IErrorLoggerreportMissingClass in class edu.umd.cs.findbugs.DelegatingBugReporterpublic void reportMissingClass(ClassNotFoundException ex)
reportMissingClass in interface edu.umd.cs.findbugs.classfile.IErrorLoggerreportMissingClass in class edu.umd.cs.findbugs.DelegatingBugReporterpublic void setEffort(EffortParameter effort)
effort - the effort to setpublic void setLog(org.apache.maven.plugin.logging.Log log)
log - the log to setpublic void setOutputWriter(Writer outputWriter)
outputWriter - the outputWriter to setpublic void setResourceBundle(ResourceBundle resourceBundle)
resourceBundle - the resourceBundle to setpublic void setThreshold(ThresholdParameter threshold)
threshold - the threshold to setprotected void addBugReport(edu.umd.cs.findbugs.BugInstance bugInstance)
protected void closeClassReportSection()
protected String evaluateThresholdParameter(int thresholdValue)
thresholdValue - The ThresholdValue integer to evaluate.
protected String getFindBugsVersion()
protected void printErrors()
protected String valueForLine(edu.umd.cs.findbugs.SourceLineAnnotation pLine)
pLine - The line to get the value from.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||