com.atlassian.bamboo.charts
Class BuildFailuresChart

java.lang.Object
  extended by com.atlassian.bamboo.charts.AbstractBambooChart
      extended by com.atlassian.bamboo.charts.BuildFailuresChart
All Implemented Interfaces:
ChartBuilder, org.jfree.chart.labels.XYToolTipGenerator, org.jfree.chart.urls.XYURLGenerator

public class BuildFailuresChart
extends AbstractBambooChart
implements org.jfree.chart.labels.XYToolTipGenerator, org.jfree.chart.urls.XYURLGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
AbstractBambooChart.AutoRange, AbstractBambooChart.NotifyListeners
 
Field Summary
protected  Build build
           
protected  java.util.Map buildResults
           
protected  java.util.List filteredResults
           
 
Fields inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
 
Constructor Summary
BuildFailuresChart(int height, int width, java.lang.String chartTitle, java.lang.String xAxisLabel, java.lang.String yAxisLabel, Build build, java.util.List filteredResults)
           
 
Method Summary
protected  void appendTooltipSuffix(java.lang.StringBuffer tooltip, BuildResultsSummary buildResultsSummary)
           
protected  org.jfree.chart.JFreeChart generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet1)
           
 java.util.Map<java.lang.String,java.lang.Object> generateChartParams()
           
 java.lang.String generateToolTip(org.jfree.data.xy.XYDataset dataset, int row, int column)
           
 java.lang.String generateURL(org.jfree.data.xy.XYDataset dataset, int row, int column)
           
 Build getBuild()
           
 org.jfree.chart.JFreeChart getChart()
           
 java.util.List getFilteredResults()
           
 void setBuild(Build build)
           
 void setFilteredResults(java.util.List filteredResults)
           
 
Methods inherited from class com.atlassian.bamboo.charts.AbstractBambooChart
configureDurationRangeAxis, configureDurationRangeAxis, configureDurationRangeAxisForSeconds, generateChartImage, generateChartImage, generateRandomMapName, getChartTitle, getContextPath, getHeight, getWidth, getxAxisLabel, getyAxisLabel, isShortUrlUsed, setChartTitle, setContextPath, setHeight, setShortUrlUsed, setWidth, setxAxisLabel, setyAxisLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

build

protected Build build

filteredResults

protected java.util.List filteredResults

buildResults

protected java.util.Map buildResults
Constructor Detail

BuildFailuresChart

public BuildFailuresChart(int height,
                          int width,
                          java.lang.String chartTitle,
                          java.lang.String xAxisLabel,
                          java.lang.String yAxisLabel,
                          Build build,
                          java.util.List filteredResults)
Method Detail

generateChartParams

public java.util.Map<java.lang.String,java.lang.Object> generateChartParams()
Specified by:
generateChartParams in interface ChartBuilder

getChart

public org.jfree.chart.JFreeChart getChart()

generateChart

protected org.jfree.chart.JFreeChart generateChart(org.jfree.data.xy.CategoryTableXYDataset dataSet1)

generateToolTip

public java.lang.String generateToolTip(org.jfree.data.xy.XYDataset dataset,
                                        int row,
                                        int column)
Specified by:
generateToolTip in interface org.jfree.chart.labels.XYToolTipGenerator

generateURL

public java.lang.String generateURL(org.jfree.data.xy.XYDataset dataset,
                                    int row,
                                    int column)
Specified by:
generateURL in interface org.jfree.chart.urls.XYURLGenerator

appendTooltipSuffix

protected void appendTooltipSuffix(java.lang.StringBuffer tooltip,
                                   BuildResultsSummary buildResultsSummary)

getBuild

public Build getBuild()

setBuild

public void setBuild(Build build)

getFilteredResults

public java.util.List getFilteredResults()

setFilteredResults

public void setFilteredResults(java.util.List filteredResults)


Copyright © 2010 Atlassian. All Rights Reserved.