org.jenkinsci.plugins.DependencyCheck
Class DependencyCheckResultAction

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractResultAction<DependencyCheckResult>
      extended by org.jenkinsci.plugins.DependencyCheck.DependencyCheckResultAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.HealthReportingAction, hudson.model.ModelObject, hudson.plugins.analysis.core.ResultAction<DependencyCheckResult>, hudson.plugins.analysis.util.ToolTipProvider, org.kohsuke.stapler.StaplerProxy

public class DependencyCheckResultAction
extends hudson.plugins.analysis.core.AbstractResultAction<DependencyCheckResult>

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

Author:
Steve Springett (steve.springett@owasp.org), based on PmdResultAction by Ulli Hafner

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

DependencyCheckResultAction

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

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

getDisplayName

public String getDisplayName()


getDescriptor

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


Copyright © 2012-2015 OWASP. All Rights Reserved.