hudson.plugins.cpptest
Class CpptestResultAction

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

public class CpptestResultAction
extends hudson.plugins.analysis.core.AbstractResultAction<CpptestResult>

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

Author:
Ulli Hafner NQH: adapt for Cpptest

Constructor Summary
CpptestResultAction(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor)
          Creates a new instance of CpptestResultAction.
CpptestResultAction(hudson.model.AbstractBuild<?,?> owner, hudson.plugins.analysis.core.HealthDescriptor healthDescriptor, CpptestResult result)
          Creates a new instance of CpptestResultAction.
 
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

CpptestResultAction

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

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

CpptestResultAction

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

Parameters:
owner - the associated build of this action
healthDescriptor - health descriptor
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<CpptestResult>

getMultipleItemsTooltip

public java.lang.String getMultipleItemsTooltip(int numberOfItems)

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

getSingleItemTooltip

public java.lang.String getSingleItemTooltip()

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


Copyright © 2010. All Rights Reserved.