hudson.plugins.dry
Class DryResultAction

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractResultAction<DryResult>
      extended by hudson.plugins.dry.DryResultAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, hudson.plugins.analysis.core.ResultAction<DryResult>, hudson.plugins.analysis.util.ToolTipProvider, org.kohsuke.stapler.StaplerProxy
Direct Known Subclasses:
MavenDryResultAction

public class DryResultAction
extends hudson.plugins.analysis.core.AbstractResultAction<DryResult>

Controls the live cycle of the DRY results. This action persists the results of the DRY 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 DRY result trend.

Author:
Ulli Hafner

Constructor Summary
DryResultAction(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
          Creates a new instance of PmdResultAction.
DryResultAction(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, DryResult result)
          Creates a new instance of PmdResultAction.
 
Method Summary
protected  hudson.plugins.analysis.core.PluginDescriptor getDescriptor()
          
 java.lang.String getDisplayName()
          
 java.lang.String getMultipleItemsTooltip(int numberOfItems)
          
 java.lang.String getSingleItemTooltip()
          
 
Methods inherited from class hudson.plugins.analysis.core.AbstractResultAction
addModule, createAggregatedResult, createResult, getBuild, getBuildHealth, getHealthDescriptor, getIconFileName, getOwner, getResult, getTarget, getTooltip, getToolTipProvider, getUrlName, isSuccessful, setResult, updateBuildHealth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DryResultAction

public DryResultAction(hudson.model.AbstractBuild<?,?> owner,
                       hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                       DryResult result)
Creates a new instance of PmdResultAction.

Parameters:
owner - the associated build of this action
healthDescriptor - health descriptor to use
result - the result in this build

DryResultAction

public DryResultAction(hudson.model.AbstractBuild<?,?> owner,
                       hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
Creates a new instance of PmdResultAction.

Parameters:
owner - the associated build of this action
healthDescriptor - health descriptor to use
Method Detail

getDisplayName

public java.lang.String getDisplayName()


getDescriptor

protected hudson.plugins.analysis.core.PluginDescriptor getDescriptor()

Specified by:
getDescriptor in class hudson.plugins.analysis.core.AbstractResultAction<DryResult>

getMultipleItemsTooltip

public java.lang.String getMultipleItemsTooltip(int numberOfItems)

Specified by:
getMultipleItemsTooltip in class hudson.plugins.analysis.core.AbstractResultAction<DryResult>

getSingleItemTooltip

public java.lang.String getSingleItemTooltip()

Specified by:
getSingleItemTooltip in class hudson.plugins.analysis.core.AbstractResultAction<DryResult>


Copyright © 2010. All Rights Reserved.