public class DefaultChartManager extends Object implements ChartManager
Constructor and Description |
---|
DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor,
IndexedBuildResultsSearcher indexedBuildResultsSearcher,
CachedPlanManager cachedPlanManager,
ResultsSummaryManager resultsSummaryManager,
PlanManager planManager) |
Modifier and Type | Method and Description |
---|---|
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) |
public DefaultChartManager(com.atlassian.plugin.PluginAccessor pluginAccessor, IndexedBuildResultsSearcher indexedBuildResultsSearcher, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, PlanManager planManager)
@Nullable public String getReportKey(Map<String,String[]> context)
getReportKey
in interface ChartManager
public List<ReportCollectorModuleDescriptor> getAvailableReports()
getAvailableReports
in interface ChartManager
public com.atlassian.plugin.ModuleDescriptor getReport(String reportKey)
getReport
in interface ChartManager
public List<ResultsSummary> prepareResultList(Map<String,String[]> contextMap)
prepareResultList
in interface ChartManager
@Nullable public ReportCollector getReportCollector(List<ResultsSummary> resultsList, Map<String,String[]> contextMap)
getReportCollector
in interface ChartManager
@NotNull public Map<String,Object> getReportData(@NotNull org.jfree.data.xy.XYDataset dataSet, @NotNull Map<String,String[]> contextMap)
getReportData
in interface ChartManager
@NotNull public Map<String,Object> getReportData(@NotNull org.jfree.data.xy.XYDataset dataSet, @NotNull String reportKey)
getReportData
in interface ChartManager
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.