|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.tasks.util.AbstractResultAction<TasksResult>
hudson.plugins.tasks.TasksResultAction
public class TasksResultAction
Controls the live cycle of the task scanner results. This action persists the
results of the task scanner 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 tasks scanner result trend.
| Constructor Summary | |
|---|---|
TasksResultAction(hudson.model.AbstractBuild<?,?> owner,
TasksResult result,
HealthReportBuilder healthReportBuilder)
Creates a new instance of TasksResultAction. |
|
| 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. |
TasksResultAction |
getPreviousResultAction()
Gets the tasks result of the previous build. |
java.lang.String |
getUrlName()
|
boolean |
hasPreviousResultAction()
Returns whether a previous build already did run with FindBugs. |
| Methods inherited from class hudson.plugins.tasks.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 TasksResultAction(hudson.model.AbstractBuild<?,?> owner,
TasksResult result,
HealthReportBuilder healthReportBuilder)
TasksResultAction.
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<TasksResult>public java.lang.String getDisplayName()
public java.lang.String getIconUrl()
getIconUrl in class AbstractResultAction<TasksResult>public java.lang.String getUrlName()
public TasksResultAction getPreviousResultAction()
java.util.NoSuchElementException - if there is no previous build for this actionpublic boolean hasPreviousResultAction()
true if a previous build already did run with
FindBugs.
protected org.jfree.chart.JFreeChart createChart(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
createChart in class AbstractResultAction<TasksResult>request - Stapler requestresponse - Stapler response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||