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