|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.findbugs.FindbugsReportGenerator
public class FindbugsReportGenerator
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 org.codehaus.mojo.findbugs.FindBugsInfo |
---|
BUNDLE_NAME, DESCRIPTION_KEY, findbugsEfforts, findbugsThresholds, JAVA_REGEX_PATTERN, JAVA_SOURCES_KEY, PLUGIN_NAME, SOURCE_ROOT_KEY, TEST_SOURCE_ROOT_KEY |
Constructor Summary | |
---|---|
FindbugsReportGenerator(org.apache.maven.doxia.sink.Sink sink,
ResourceBundle bundle,
File basedir,
org.apache.maven.doxia.tools.SiteTool siteTool)
Default constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FindbugsReportGenerator(org.apache.maven.doxia.sink.Sink sink, ResourceBundle bundle, File basedir, org.apache.maven.doxia.tools.SiteTool siteTool)
sink
- The sink to generate the report.bundle
- The resource bundle to get the messages from.log
- The logger.threshold
- The threshold for the report.isJXRReportEnabled
- Is the jxr report plugin enabled.effort
- The used effort.Method Detail |
---|
public static final String getNOLINE_KEY()
public static final String getCOLUMN_LINE_KEY()
public static final String getCOLUMN_BUG_KEY()
public static final String getCOLUMN_BUGS_KEY()
public static final String getCOLUMN_CATEGORY_KEY()
public static final String getCOLUMN_PRIORITY_KEY()
public static final String getCOLUMN_DETAILS_KEY()
public static final String getREPORT_TITLE_KEY()
public static final String getLINKTITLE_KEY()
public static final String getLINK_KEY()
public static final String getNAME_KEY()
public static final String getFILES_KEY()
public static final String getTHRESHOLD_KEY()
public static final String getURL_SEPARATOR()
public static final String getEFFORT_KEY()
public static final String getDETAILSLINK_KEY()
public static final String getVERSIONTITLE_KEY()
public static final String getSUMMARY_KEY()
public static final String getCOLUMN_CLASS_KEY()
public static final String getCOLUMN_CLASSES_KEY()
public static final String getCOLUMN_ERRORS_KEY()
public static final String getCOLUMN_FILES_KEY()
public static final String getCOLUMN_MISSINGCLASSES_KEY()
public org.apache.maven.doxia.sink.Sink getSink()
public void setSink(org.apache.maven.doxia.sink.Sink value)
public ResourceBundle getBundle()
public void setBundle(ResourceBundle value)
public org.apache.maven.plugin.logging.Log getLog()
public void setLog(org.apache.maven.plugin.logging.Log value)
public String getThreshold()
public void setThreshold(String value)
public String getEffort()
public void setEffort(String value)
public String getCurrentClassName()
public void setCurrentClassName(String value)
public boolean getMIsCurrentClassReportOpened()
public boolean isMIsCurrentClassReportOpened()
public void setMIsCurrentClassReportOpened(boolean value)
public boolean getIsJXRReportEnabled()
public boolean isIsJXRReportEnabled()
public void setIsJXRReportEnabled(boolean value)
public int getBugCount()
public void setBugCount(int value)
public int getMissingClassCount()
public void setMissingClassCount(int value)
public int getFileCount()
public void setFileCount(int value)
public Set getMissingClassSet()
public void setMissingClassSet(Set value)
public int getErrorCount()
public void setErrorCount(int value)
public File getOutputDirectory()
public void setOutputDirectory(File value)
public File getXrefLocation()
public void setXrefLocation(File value)
public File getXrefTestLocation()
public void setXrefTestLocation(File value)
public List getCompileSourceRoots()
public void setCompileSourceRoots(List value)
public List getTestSourceRoots()
public void setTestSourceRoots(List value)
public boolean getIncludeTests()
public boolean isIncludeTests()
public void setIncludeTests(boolean value)
public org.apache.maven.doxia.tools.SiteTool getSiteTool()
public void setSiteTool(org.apache.maven.doxia.tools.SiteTool value)
public File getBasedir()
public void setBasedir(File value)
public groovy.util.slurpersupport.GPathResult getFindbugsResults()
public void setFindbugsResults(groovy.util.slurpersupport.GPathResult value)
public List getBugClasses()
public void setBugClasses(List value)
public void printBody()
edu.umd.cs.findbugs.BugReporter#finish()
protected void printBug(String bugClass)
bugInstance
- the bug to printprotected String assembleJxrHyperlink(groovy.util.slurpersupport.GPathResult line)
line
- The line number object with the bug.lineNumber
- The line number to show in the hyperlink.
protected String getReportTitle()
protected void openClassReportSection(String bugClass)
protected void printSummary()
protected void printFilesSummary()
public void generateReport()
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String name)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String name, Object value)
setProperty
in interface groovy.lang.GroovyObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |