Class AbstractAuthorReportCollector
java.lang.Object
com.atlassian.bamboo.author.collector.AbstractAuthorReportCollector
- Direct Known Subclasses:
AuthorBuildsBrokenCollector
,AuthorBuildsFailedCollector
,AuthorBuildsFixedCollector
,AuthorBuildsTriggeredCollector
,AuthorSuccessRatioCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.jfree.data.time.RegularTimePeriod>
getAllPeriodsBetweenDates
(Date earliest, Date latest) protected String
getAutoDate
(Date startDate, Date lastDate) protected abstract TimePeriodCollater
org.jfree.data.general.Dataset
protected @Nullable 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 @Nullable Date
getLatestBuildDate
(List<? extends ResultStatisticsProvider> results) protected org.jfree.data.time.RegularTimePeriod
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
protected void
writeCollaterToDataSet
(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater collater)
-
Constructor Details
-
AbstractAuthorReportCollector
public AbstractAuthorReportCollector()
-
-
Method Details
-
getDataSet
public org.jfree.data.general.Dataset getDataSet() -
populateDataSet
protected org.jfree.data.time.TimeTableXYDataset populateDataSet(Collection<ResultsSummary> results, org.jfree.data.time.TimeTableXYDataset dataset, String seriesName) -
getCollater
-
writeCollaterToDataSet
protected void writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater collater) -
getPeriodRange
-
getAutoDate
-
getAllPeriodsBetweenDates
-
getEarliestBuildDate
@Nullable protected @Nullable Date getEarliestBuildDate(List<? extends ResultStatisticsProvider> results) -
getLatestBuildDate
@Nullable protected @Nullable Date getLatestBuildDate(List<? extends ResultStatisticsProvider> results) -
isInPeriod
-
getFirstPeriod
-
getLastPeriod
-
getPeriod
-
getParams
-
setParams
-
getAuthorBuilds
-
setAuthorBuilds
-