|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.AbstractResultAction<CheckStyleResult>
hudson.plugins.checkstyle.CheckStyleResultAction
public class CheckStyleResultAction
Controls the live cycle of the Checkstyle results. This action persists the
results of the Checkstyle 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 Checkstyle result trend.
| Constructor Summary | |
|---|---|
CheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor)
Creates a new instance of CheckStyleResultAction. |
|
CheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
CheckStyleResult result)
Creates a new instance of CheckStyleResultAction. |
|
| Method Summary | |
|---|---|
protected PluginDescriptor |
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. |
CheckStyleResultAction |
getPreviousResultAction()
Gets the Checkstyle result of the previous build. |
java.lang.String |
getSingleItemTooltip()
Returns the tooltip for exactly one item. |
| Methods inherited from class hudson.plugins.checkstyle.util.AbstractResultAction |
|---|
addModule, buildDataSet, createAggregatedResult, createResult, doGraph, doGraphMap, getBuildHealth, getHealthDescriptor, getHealthReportBuilder, getIconFileName, getOwner, getPreviousBuild, getResult, getTarget, getUrlName, hasPreviousResultAction, setResult, updateBuildHealth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
CheckStyleResult result)
CheckStyleResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptorresult - the result in this build
public CheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor)
CheckStyleResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor| Method Detail |
|---|
public java.lang.String getDisplayName()
protected PluginDescriptor getDescriptor()
getDescriptor in class AbstractResultAction<CheckStyleResult>public CheckStyleResultAction getPreviousResultAction()
java.util.NoSuchElementException - if there is no previous build for this actionpublic java.lang.String getMultipleItemsTooltip(int numberOfItems)
numberOfItems - the number of items to display the tooltip for
public java.lang.String getSingleItemTooltip()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||