![JAR search and dependency download from the Maven repository](/logo.png)
hudson.plugins.analysis.graph.TrendDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of analysis-core Show documentation
Show all versions of analysis-core Show documentation
This plug-in provides utilities for the static code analysis plug-ins.
The newest version!
package hudson.plugins.analysis.graph;
import org.kohsuke.stapler.StaplerRequest;
import hudson.model.AbstractProject;
import hudson.util.Graph;
/**
* Details trend graph.
*
* @author Ulli Hafner
*/
public class TrendDetails {
/** The graph to display. */
private final Graph trendGraph;
/** The project of the graph. */
private final AbstractProject, ?> project;
/**
* Creates a new instance of {@link TrendDetails}.
*
* @param project
* the project of the graph
* @param trendGraph
* the graph
*/
public TrendDetails(final AbstractProject, ?> project, final Graph trendGraph) {
this.project = project;
this.trendGraph = trendGraph;
}
/**
* Returns the trend graph.
*
* @param request
* Stapler request
* @return the trend graph
*/
public Graph getTrendGraph(final StaplerRequest request) {
return trendGraph;
}
/**
* Returns the abstractProject.
*
* @return the abstractProject
*/
public AbstractProject, ?> getProject() {
return project;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy