org.codehaus.mojo.findbugs
Class XDocsReporter
java.lang.Object
org.codehaus.mojo.findbugs.XDocsReporter
- All Implemented Interfaces:
- groovy.lang.GroovyObject, FindBugsInfo
public class XDocsReporter
- extends Object
- implements groovy.lang.GroovyObject, FindBugsInfo
The reporter controls the generation of the FindBugs report.
- Version:
- $Id: XDocsReporter.groovy 10629 2009-09-07 21:39:31Z gleclaire $
- Author:
- Garvin LeClaire
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XDocsReporter
public XDocsReporter(ResourceBundle bundle,
org.apache.maven.plugin.logging.Log log,
String threshold,
String effort,
String outputEncoding)
- Default constructor.
- Parameters:
bundle
- - The Resource Bundle to use
getNOLINE_KEY
public static final String getNOLINE_KEY()
getBundle
public ResourceBundle getBundle()
setBundle
public void setBundle(ResourceBundle value)
getLog
public org.apache.maven.plugin.logging.Log getLog()
setLog
public void setLog(org.apache.maven.plugin.logging.Log value)
getThreshold
public String getThreshold()
setThreshold
public void setThreshold(String value)
getEffort
public String getEffort()
setEffort
public void setEffort(String value)
getOutputWriter
public Writer getOutputWriter()
setOutputWriter
public void setOutputWriter(Writer value)
getFindbugsResults
public groovy.util.slurpersupport.GPathResult getFindbugsResults()
setFindbugsResults
public void setFindbugsResults(groovy.util.slurpersupport.GPathResult value)
getBugClasses
public List getBugClasses()
setBugClasses
public void setBugClasses(List value)
getCompileSourceRoots
public List getCompileSourceRoots()
setCompileSourceRoots
public void setCompileSourceRoots(List value)
getOutputEncoding
public String getOutputEncoding()
setOutputEncoding
public void setOutputEncoding(String value)
evaluateThresholdParameter
protected String evaluateThresholdParameter(String thresholdValue)
- Returns the threshold string value for the integer input.
- Parameters:
thresholdValue
- The ThresholdValue integer to evaluate.
- Returns:
- The string valueof the Threshold object.
getFindBugsVersion
protected String getFindBugsVersion()
- Gets the Findbugs Version of the report.
- Returns:
- The Findbugs Version used on the report.
generateReport
public void generateReport()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
Copyright © 2005-2012 Codehaus. All Rights Reserved.