Package com.atlassian.bamboo.charts
Class DefaultChartManager
- java.lang.Object
-
- com.atlassian.bamboo.charts.DefaultChartManager
-
- All Implemented Interfaces:
ChartManager
public class DefaultChartManager extends Object implements ChartManager
-
-
Constructor Summary
Constructors Constructor Description DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor, PlanResultSearcher planResultSearcher, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, PlanManager planManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReportCollectorModuleDescriptor>
getAvailableReports()
com.atlassian.plugin.ModuleDescriptor<ReportCollector>
getReport(String reportKey)
@Nullable ReportCollector
getReportCollector(List<ResultsSummary> resultsList, Map<String,String[]> contextMap)
@NotNull Map<String,Object>
getReportData(@NotNull org.jfree.data.xy.XYDataset dataSet, @NotNull String reportKey)
@NotNull Map<String,Object>
getReportData(@NotNull org.jfree.data.xy.XYDataset dataSet, @NotNull Map<String,String[]> contextMap)
@Nullable String
getReportKey(Map<String,String[]> context)
List<ResultsSummary>
prepareResultList(Map<String,String[]> contextMap)
-
-
-
Constructor Detail
-
DefaultChartManager
public DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor, PlanResultSearcher planResultSearcher, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, PlanManager planManager)
-
-
Method Detail
-
getReportKey
@Nullable public @Nullable String getReportKey(Map<String,String[]> context)
- Specified by:
getReportKey
in interfaceChartManager
-
getAvailableReports
public List<ReportCollectorModuleDescriptor> getAvailableReports()
- Specified by:
getAvailableReports
in interfaceChartManager
-
getReport
public com.atlassian.plugin.ModuleDescriptor<ReportCollector> getReport(String reportKey)
- Specified by:
getReport
in interfaceChartManager
-
prepareResultList
public List<ResultsSummary> prepareResultList(Map<String,String[]> contextMap)
- Specified by:
prepareResultList
in interfaceChartManager
-
getReportCollector
@Nullable public @Nullable ReportCollector getReportCollector(List<ResultsSummary> resultsList, Map<String,String[]> contextMap)
- Specified by:
getReportCollector
in interfaceChartManager
-
getReportData
@NotNull public @NotNull Map<String,Object> getReportData(@NotNull @NotNull org.jfree.data.xy.XYDataset dataSet, @NotNull @NotNull Map<String,String[]> contextMap)
- Specified by:
getReportData
in interfaceChartManager
-
getReportData
@NotNull public @NotNull Map<String,Object> getReportData(@NotNull @NotNull org.jfree.data.xy.XYDataset dataSet, @NotNull @NotNull String reportKey)
- Specified by:
getReportData
in interfaceChartManager
-
-