public abstract class AbstractAuthorReportCollector extends Object
Constructor and Description |
---|
AbstractAuthorReportCollector() |
Modifier and Type | Method and Description |
---|---|
protected List<org.jfree.data.time.RegularTimePeriod> |
getAllPeriodsBetweenDates(Date earliest,
Date latest) |
Map<String,List<ResultsSummary>> |
getAuthorBuilds() |
protected String |
getAutoDate(Date startDate,
Date lastDate) |
protected abstract TimePeriodCollater |
getCollater() |
org.jfree.data.general.Dataset |
getDataSet() |
protected Date |
getEarliestBuildDate(List<? extends ResultStatisticsProvider> results) |
protected org.jfree.data.time.RegularTimePeriod |
getFirstPeriod(Date earliestDataEntry,
String periodRange) |
protected org.jfree.data.time.RegularTimePeriod |
getLastPeriod(Date latestDataEntry,
String periodRange) |
protected Date |
getLatestBuildDate(List<? extends ResultStatisticsProvider> results) |
Map<String,String[]> |
getParams() |
protected org.jfree.data.time.RegularTimePeriod |
getPeriod(Date date,
String periodRange) |
String |
getPeriodRange() |
protected boolean |
isInPeriod(org.jfree.data.time.RegularTimePeriod time,
Date date) |
protected org.jfree.data.time.TimeTableXYDataset |
populateDataSet(Collection<ResultsSummary> results,
org.jfree.data.time.TimeTableXYDataset dataset,
String seriesName) |
void |
setAuthorBuilds(Map<String,List<ResultsSummary>> authorBuilds) |
void |
setParams(Map<String,String[]> params) |
protected void |
writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset,
TimePeriodCollater collater) |
public org.jfree.data.general.Dataset getDataSet()
protected org.jfree.data.time.TimeTableXYDataset populateDataSet(Collection<ResultsSummary> results, org.jfree.data.time.TimeTableXYDataset dataset, String seriesName)
protected abstract TimePeriodCollater getCollater()
protected void writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater collater)
public String getPeriodRange()
protected List<org.jfree.data.time.RegularTimePeriod> getAllPeriodsBetweenDates(Date earliest, Date latest)
@Nullable protected Date getEarliestBuildDate(List<? extends ResultStatisticsProvider> results)
@Nullable protected Date getLatestBuildDate(List<? extends ResultStatisticsProvider> results)
protected boolean isInPeriod(org.jfree.data.time.RegularTimePeriod time, Date date)
protected org.jfree.data.time.RegularTimePeriod getFirstPeriod(Date earliestDataEntry, String periodRange)
protected org.jfree.data.time.RegularTimePeriod getLastPeriod(Date latestDataEntry, String periodRange)
public Map<String,List<ResultsSummary>> getAuthorBuilds()
public void setAuthorBuilds(Map<String,List<ResultsSummary>> authorBuilds)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.