com.atlassian.bamboo.charts
Class DefaultChartManager

java.lang.Object
  extended by com.atlassian.bamboo.charts.DefaultChartManager
All Implemented Interfaces:
ChartManager

public class DefaultChartManager
extends java.lang.Object
implements ChartManager


Constructor Summary
DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor, IndexedBuildResultsSearcher indexedBuildResultsSearcher, BuildManager buildManager)
           
 
Method Summary
 java.util.List<ReportCollectorModuleDescriptor> getAvailableReports()
           
 com.atlassian.plugin.ModuleDescriptor getReport(java.lang.String reportKey)
           
 ReportCollector getReportCollector(java.util.List<BuildResultsSummary> resultsList, java.util.Map<java.lang.String,java.lang.String[]> contextMap)
           
 java.util.Map getReportData(org.jfree.data.xy.XYDataset dataSet, java.util.Map<java.lang.String,java.lang.String[]> contextMap)
           
 java.util.Map getReportData(org.jfree.data.xy.XYDataset dataSet, java.lang.String reportKey)
           
 java.lang.String getReportKey(java.util.Map<java.lang.String,java.lang.String[]> context)
           
 java.util.List<BuildResultsSummary> prepareResultList(java.util.Map contextMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChartManager

public DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor,
                           IndexedBuildResultsSearcher indexedBuildResultsSearcher,
                           BuildManager buildManager)
Method Detail

getReportKey

@Nullable
public java.lang.String getReportKey(java.util.Map<java.lang.String,java.lang.String[]> context)
Specified by:
getReportKey in interface ChartManager

getAvailableReports

public java.util.List<ReportCollectorModuleDescriptor> getAvailableReports()
Specified by:
getAvailableReports in interface ChartManager

getReport

public com.atlassian.plugin.ModuleDescriptor getReport(java.lang.String reportKey)
Specified by:
getReport in interface ChartManager

prepareResultList

public java.util.List<BuildResultsSummary> prepareResultList(java.util.Map contextMap)
Specified by:
prepareResultList in interface ChartManager

getReportCollector

@Nullable
public ReportCollector getReportCollector(java.util.List<BuildResultsSummary> resultsList,
                                                   java.util.Map<java.lang.String,java.lang.String[]> contextMap)
Specified by:
getReportCollector in interface ChartManager

getReportData

public java.util.Map getReportData(@NotNull
                                   org.jfree.data.xy.XYDataset dataSet,
                                   @NotNull
                                   java.util.Map<java.lang.String,java.lang.String[]> contextMap)
Specified by:
getReportData in interface ChartManager

getReportData

public java.util.Map getReportData(@NotNull
                                   org.jfree.data.xy.XYDataset dataSet,
                                   @NotNull
                                   java.lang.String reportKey)
Specified by:
getReportData in interface ChartManager


Copyright © 2010 Atlassian. All Rights Reserved.