org.jenkinsci.plugins.neoload_integration.supporting
Class NeoLoadGraph
java.lang.Object
org.jenkinsci.plugins.neoload_integration.supporting.NeoLoadGraph
- All Implemented Interfaces:
- java.io.Serializable
public class NeoLoadGraph
- extends java.lang.Object
- implements java.io.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,
java.lang.String yAxisLabel,
java.awt.Color lineColor)
|
|
Method Summary |
org.jfree.chart.JFreeChart |
createGraph()
|
java.awt.image.BufferedImage |
createImage(int width,
int height)
|
void |
doPng(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
This is the method Hudson uses when a dynamic png is referenced in a jelly file. |
java.awt.Color |
getLineColor()
|
java.lang.String |
getyAxisLabel()
|
| 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,
java.lang.String yAxisLabel,
java.awt.Color lineColor)
createGraph
public org.jfree.chart.JFreeChart createGraph()
doPng
public void doPng(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
- This is the method Hudson uses when a dynamic png is referenced in a jelly file.
- Parameters:
req - rsp -
- Throws:
java.io.IOException
createImage
public java.awt.image.BufferedImage createImage(int width,
int height)
getyAxisLabel
public java.lang.String getyAxisLabel()
- Returns:
- the yAxisLabel
getLineColor
public java.awt.Color getLineColor()
- Returns:
- the lineColor
Copyright © 2004-2014. All Rights Reserved.