public abstract class AbstractTimePeriodCollector extends Object implements ReportCollector
Modifier | Constructor and Description |
---|---|
protected |
AbstractTimePeriodCollector() |
Modifier and Type | Method and Description |
---|---|
protected TimePeriodCollater |
createCollater(org.jfree.data.time.RegularTimePeriod nextPeriod,
String key) |
protected String |
getAutoDate(Date startDate,
Date lastDate) |
protected abstract TimePeriodCollater |
getCollater() |
org.jfree.data.general.Dataset |
getDataset() |
Map<String,String[]> |
getParams() |
protected org.jfree.data.time.RegularTimePeriod |
getPeriod(Date date,
String periodRange) |
String |
getPeriodRange()
|
List<? extends ResultsSummary> |
getResultsList() |
protected String |
getSeriesKey(ResultsSummary summary) |
protected boolean |
isInPeriod(org.jfree.data.time.RegularTimePeriod time,
Date date) |
void |
setParams(Map<String,String[]> params) |
void |
setResultsList(List<? extends ResultsSummary> resultsList) |
protected void |
writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset,
TimePeriodCollater collater) |
@NotNull public org.jfree.data.general.Dataset getDataset()
getDataset
in interface ReportCollector
protected String getSeriesKey(@NotNull ResultsSummary summary)
public String getPeriodRange()
ReportCollector
AbstractTimePeriodGroupedChart.DAY
, AbstractTimePeriodGroupedChart.WEEK
and
AbstractTimePeriodGroupedChart.MONTH
.getPeriodRange
in interface ReportCollector
protected boolean isInPeriod(@Nullable org.jfree.data.time.RegularTimePeriod time, Date date)
protected void writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater collater)
protected TimePeriodCollater createCollater(org.jfree.data.time.RegularTimePeriod nextPeriod, String key)
protected abstract TimePeriodCollater getCollater()
public List<? extends ResultsSummary> getResultsList()
public void setResultsList(@NotNull List<? extends ResultsSummary> resultsList)
setResultsList
in interface ReportCollector
public void setParams(@NotNull Map<String,String[]> params)
setParams
in interface ReportCollector
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.