|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.AbstractResultAction<PmdResult>
hudson.plugins.pmd.PmdResultAction
public class PmdResultAction
Controls the live cycle of the PMD results. This action persists the
results of the PMD 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 PMD result trend.
| Constructor Summary | |
|---|---|
PmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor)
Creates a new instance of PmdResultAction. |
|
PmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
PmdResult result)
Creates a new instance of PmdResultAction. |
|
| 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. |
PmdResultAction |
getPreviousResultAction()
Gets the PMD result of the previous build. |
java.lang.String |
getSingleItemTooltip()
Returns the tooltip for exactly one item. |
| Methods inherited from class hudson.plugins.pmd.util.AbstractResultAction |
|---|
addModule, createAggregatedResult, createResult, getBuild, getBuildHealth, getHealthDescriptor, getIconFileName, getOwner, getPreviousBuild, getResult, getTarget, getTooltip, getToolTipProvider, 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 PmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
PmdResult result)
PmdResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to useresult - the result in this build
public PmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor)
PmdResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to use| Method Detail |
|---|
public java.lang.String getDisplayName()
protected PluginDescriptor getDescriptor()
getDescriptor in class AbstractResultAction<PmdResult>public PmdResultAction getPreviousResultAction()
java.util.NoSuchElementException - if there is no previous build for this actionpublic java.lang.String getMultipleItemsTooltip(int numberOfItems)
getMultipleItemsTooltip in class AbstractResultAction<PmdResult>numberOfItems - the number of items to display the tooltip for
public java.lang.String getSingleItemTooltip()
getSingleItemTooltip in class AbstractResultAction<PmdResult>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||