|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.serenitec.util.AbstractResultAction<SerenitecResult>
hudson.plugins.serenitec.SerenitecResultAction
public class SerenitecResultAction
Controls the live cycle of the warnings results.
This action persists the results of the warnings 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 warnings result trend.
| Constructor Summary | |
|---|---|
SerenitecResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthReportBuilder healthReportBuilder)
Creates a new instance of WarningsResultAction. |
|
SerenitecResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthReportBuilder healthReportBuilder,
SerenitecResult result)
Creates a new instance of WarningsResultAction. |
|
| Method Summary | |
|---|---|
protected SerenitecDescriptor |
getDescriptor()
Returns the descriptor of the associated plug-in. |
java.lang.String |
getDisplayName()
|
java.lang.String |
getMultipleItemsTooltip(int numberOfItems)
Returns the tooltip for several items. |
SerenitecResultAction |
getPreviousResultAction()
Gets the warnings result of the previous build. |
java.lang.String |
getSingleItemTooltip()
Returns the tooltip for exactly one item. |
| Methods inherited from class hudson.plugins.serenitec.util.AbstractResultAction |
|---|
buildDataSet, buildDetailsDataSet, doDetailsGraph, doGraph, doGraphMap, doPersonalGraph, doRulesRepartitionPie, getBuildHealth, getHealthReportBuilder, getIconFileName, getOwner, getPreviousBuild, getResult, getTarget, getUrlName, hasPreviousResultAction, setResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerenitecResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthReportBuilder healthReportBuilder)
WarningsResultAction.
owner - the associated build of this actionhealthReportBuilder - health builder to use
public SerenitecResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthReportBuilder healthReportBuilder,
SerenitecResult result)
WarningsResultAction.
owner - the associated build of this actionhealthReportBuilder - health builder to useresult - the result in this build| Method Detail |
|---|
protected SerenitecDescriptor getDescriptor()
getDescriptor in class AbstractResultAction<SerenitecResult>public java.lang.String getDisplayName()
public java.lang.String getMultipleItemsTooltip(int numberOfItems)
numberOfItems - the number of items to display the tooltip for
public SerenitecResultAction getPreviousResultAction()
java.util.NoSuchElementException - if there is no previous build for this actionpublic java.lang.String getSingleItemTooltip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||