|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.util.AbstractResultAction<FindBugsResult>
hudson.plugins.findbugs.FindBugsResultAction
public class FindBugsResultAction
Controls the live cycle of the FindBugs results. This action persists the
results of the FindBugs analysis of a build and displays the results on the
build page. The actual visualization of the results is defined in the
matching summary.jelly file.
Moreover, this class renders the FindBugs result trend.
| Constructor Summary | |
|---|---|
FindBugsResultAction(hudson.model.AbstractBuild<?,?> owner,
FindBugsResult result,
HealthReportBuilder healthReportBuilder)
Creates a new instance of FindBugsBuildAction. |
|
| Method Summary | |
|---|---|
protected org.jfree.chart.JFreeChart |
createChart(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Creates the chart for this action. |
java.lang.String |
getDisplayName()
|
protected int |
getHealthCounter()
Returns the health counter of this result. |
java.lang.String |
getIconUrl()
Returns the file name URL of the icon. |
FindBugsResultAction |
getPreviousResultAction()
Gets the FindBugs result of the previous build. |
java.lang.String |
getUrlName()
|
boolean |
hasPreviousResultAction()
Returns whether a previous build already has a result action of this type attached. |
| Methods inherited from class hudson.plugins.findbugs.util.AbstractResultAction |
|---|
doGraph, doGraphMap, getBuildHealth, getHealthReportBuilder, getIconFileName, getOwner, getResult, getTarget, setResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindBugsResultAction(hudson.model.AbstractBuild<?,?> owner,
FindBugsResult result,
HealthReportBuilder healthReportBuilder)
FindBugsBuildAction.
owner - the associated build of this actionresult - the result in this buildhealthReportBuilder - health builder to use| Method Detail |
|---|
protected int getHealthCounter()
getHealthCounter in class AbstractResultAction<FindBugsResult>public java.lang.String getDisplayName()
public java.lang.String getIconUrl()
getIconUrl in class AbstractResultAction<FindBugsResult>public java.lang.String getUrlName()
public FindBugsResultAction getPreviousResultAction()
java.util.NoSuchElementException - if there is no previous build for this actionpublic boolean hasPreviousResultAction()
true a previous build already has a result action
of this type attached
protected org.jfree.chart.JFreeChart createChart(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
createChart in class AbstractResultAction<FindBugsResult>request - Stapler requestresponse - Stapler response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||