hudson.plugins.checkstyle
Class CheckStyleResultAction

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

public class CheckStyleResultAction
extends hudson.plugins.analysis.core.AbstractResultAction<CheckStyleResult>

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.

Author:
Ulli Hafner

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

Constructor Detail

CheckStyleResultAction

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

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

CheckStyleResultAction

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

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

getDisplayName

public String getDisplayName()


getDescriptor

protected hudson.plugins.analysis.core.PluginDescriptor getDescriptor()
Specified by:
getDescriptor in class hudson.plugins.analysis.core.AbstractResultAction<CheckStyleResult>


Copyright © 2004-2012 Hudson. All Rights Reserved.