All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hudson.plugins.analysis.collector.AnalysisResultAction Maven / Gradle / Ivy

Go to download

This plug-in is an add-on for the plug-ins Checkstyle, Dry, FindBugs, PMD, Tasks, and Warnings: the plug-in collects the different analysis results and shows the results in a combined trend graph. Additionally, the plug-in provides health reporting and build stability based on these combined results.

The newest version!
package hudson.plugins.analysis.collector;

import hudson.model.AbstractBuild;
import hudson.plugins.analysis.core.AbstractResultAction;
import hudson.plugins.analysis.core.HealthDescriptor;
import hudson.plugins.analysis.core.PluginDescriptor;

/**
 * Controls the live cycle of the analysis results. This action persists the
 * results of the static analysis tools 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 warnings result trend. *

* * @author Ulli Hafner */ public class AnalysisResultAction extends AbstractResultAction { /** * Creates a new instance of {@link AbstractResultAction}. * * @param owner * the associated build of this action * @param healthDescriptor * health descriptor to use * @param result * the result of this build */ public AnalysisResultAction(final AbstractBuild owner, final HealthDescriptor healthDescriptor, final AnalysisResult result) { super(owner, new AnalysisHealthDescriptor(healthDescriptor), result); } /** * Creates a new instance of {@link AbstractResultAction}. * * @param owner * the associated build of this action * @param healthDescriptor * health descriptor to use */ public AnalysisResultAction(final AbstractBuild owner, final HealthDescriptor healthDescriptor) { super(owner, new AnalysisHealthDescriptor(healthDescriptor)); } /** {@inheritDoc} */ public String getDisplayName() { return Messages.Analysis_ProjectAction_Name(); } @Override protected PluginDescriptor getDescriptor() { return new AnalysisDescriptor(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy