org.jenkinsci.plugins.neoload_integration.supporting
Class NeoLoadGraph
java.lang.Object
org.jenkinsci.plugins.neoload_integration.supporting.NeoLoadGraph
- All Implemented Interfaces:
- Serializable
public class NeoLoadGraph
- extends Object
- implements Serializable
This does not extend any type of "Graph" class for easier compatibility with Hudson and Jenkins.
i.e. we can more easily use the same code for both.
- See Also:
- Serialized Form
|
Constructor Summary |
NeoLoadGraph(org.jfree.data.category.CategoryDataset dataset,
String yAxisLabel,
Color lineColor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeoLoadGraph
public NeoLoadGraph(org.jfree.data.category.CategoryDataset dataset,
String yAxisLabel,
Color lineColor)
createGraph
public org.jfree.chart.JFreeChart createGraph()
doPng
public void doPng(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
- This is the method Hudson uses when a dynamic png is referenced in a jelly file.
- Parameters:
req - rsp -
- Throws:
IOException
createImage
public BufferedImage createImage(int width,
int height)
getyAxisLabel
public String getyAxisLabel()
- Returns:
- the yAxisLabel
getLineColor
public Color getLineColor()
- Returns:
- the lineColor
Copyright © 2004-2016. All Rights Reserved.