com.atlassian.bamboo.charts
Class DefaultChartManager

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

public class DefaultChartManager
extends Object
implements ChartManager


Constructor Summary
DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor, IndexedBuildResultsSearcher indexedBuildResultsSearcher, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, PlanManager planManager)
           
 
Method Summary
 List<ReportCollectorModuleDescriptor> getAvailableReports()
           
 com.atlassian.plugin.ModuleDescriptor getReport(String reportKey)
           
 ReportCollector getReportCollector(List<ResultsSummary> resultsList, Map<String,String[]> contextMap)
           
 Map<String,Object> getReportData(org.jfree.data.xy.XYDataset dataSet, Map<String,String[]> contextMap)
           
 Map<String,Object> getReportData(org.jfree.data.xy.XYDataset dataSet, String reportKey)
           
 String getReportKey(Map<String,String[]> context)
           
 List<ResultsSummary> prepareResultList(Map<String,String[]> 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,
                           CachedPlanManager cachedPlanManager,
                           ResultsSummaryManager resultsSummaryManager,
                           PlanManager planManager)
Method Detail

getReportKey

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

getAvailableReports

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

getReport

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

prepareResultList

public List<ResultsSummary> prepareResultList(Map<String,String[]> contextMap)
Specified by:
prepareResultList in interface ChartManager

getReportCollector

@Nullable
public ReportCollector getReportCollector(List<ResultsSummary> resultsList,
                                                   Map<String,String[]> contextMap)
Specified by:
getReportCollector in interface ChartManager

getReportData

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

getReportData

@NotNull
public Map<String,Object> getReportData(@NotNull
                                                org.jfree.data.xy.XYDataset dataSet,
                                                @NotNull
                                                String reportKey)
Specified by:
getReportData in interface ChartManager


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.