class XDocsReporter extends java.lang.Object
The reporter controls the generation of the Spotbugs report.
Type | Name and description |
---|---|
static java.lang.String |
NOLINE_KEY The key to get the value if the line number is not available. |
java.util.List |
bugClasses Bug Classes. |
java.util.ResourceBundle |
bundle The bundle to get the messages from. |
java.util.List |
compileSourceRoots The directories containing the sources to be compiled. |
java.lang.String |
effort The used effort for searching bugs. |
Log |
log The logger to write logs to. |
java.lang.String |
outputEncoding The output encoding. |
java.io.Writer |
outputWriter The output Writer stream. |
groovy.xml.slurpersupport.GPathResult |
spotbugsResults Spotbugs Results. |
java.util.List |
testSourceRoots The directories containing the test sources to be compiled. |
java.lang.String |
threshold The threshold of bugs severity. |
Constructor and description |
---|
XDocsReporter(java.util.ResourceBundle bundle, Log log, java.lang.String threshold, java.lang.String effort, java.lang.String outputEncoding) Default constructor. |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.String |
evaluateThresholdParameter(java.lang.String thresholdValue) Returns the threshold string value for the integer input. |
|
void |
generateReport() |
|
protected java.lang.String |
getSpotBugsVersion() Gets the Spotbugs Version of the report. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait() |
The key to get the value if the line number is not available.
Bug Classes.
The bundle to get the messages from.
The directories containing the sources to be compiled.
The used effort for searching bugs.
The logger to write logs to.
The output encoding.
The output Writer stream.
Spotbugs Results.
The directories containing the test sources to be compiled.
The threshold of bugs severity.
Default constructor.
bundle
- The Resource Bundle to useReturns the threshold string value for the integer input.
thresholdValue
- The ThresholdValue integer to evaluate.Gets the Spotbugs Version of the report.
spotbugs-maven-plugin Groovy Documentation