Package org.ow2.clif.jenkins.chart
Class AbstractChart
- java.lang.Object
-
- org.ow2.clif.jenkins.chart.AbstractChart
-
- Direct Known Subclasses:
CallChart,FixedSliceNumberDistributionChart,FixedSliceSizeDistributionChart,MovingStatChart,QuantileDistributionChart
public abstract class AbstractChart extends Object
- Author:
- Julien Coste
-
-
Field Summary
Fields Modifier and Type Field Description protected ChartConfigurationchartConfigurationprotected ChartIdchartId
-
Constructor Summary
Constructors Constructor Description AbstractChart(String chartType, String bladeId, String testplan, String event, ChartConfiguration chartConfiguration)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.jfree.chart.JFreeChartcreateChart()voidcreateChart(File rootDir)voiddoPng(File rootDir, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)protected StringgetBasicTitle()
-
-
-
Field Detail
-
chartId
protected final ChartId chartId
-
chartConfiguration
protected final ChartConfiguration chartConfiguration
-
-
Constructor Detail
-
AbstractChart
public AbstractChart(String chartType, String bladeId, String testplan, String event, ChartConfiguration chartConfiguration)
-
-
Method Detail
-
getBasicTitle
protected String getBasicTitle()
-
doPng
public void doPng(File rootDir, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
- Throws:
IOException
-
createChart
public void createChart(File rootDir)
-
createChart
protected abstract org.jfree.chart.JFreeChart createChart()
-
-