com.atlassian.bamboo.author.collector
Class AbstractAuthorReportCollector
java.lang.Object
com.atlassian.bamboo.author.collector.AbstractAuthorReportCollector
- Direct Known Subclasses:
- AuthorBuildsBrokenCollector, AuthorBuildsFailedCollector, AuthorBuildsFixedCollector, AuthorBuildsTriggeredCollector, AuthorSuccessRatioCollector
public abstract class AbstractAuthorReportCollector
- extends java.lang.Object
Method Summary |
protected java.util.List<org.jfree.data.time.RegularTimePeriod> |
getAllPeriodsBetweenDates(java.util.Date earliest,
java.util.Date latest)
|
java.util.Map<java.lang.String,java.util.List<ResultsSummary>> |
getAuthorBuilds()
|
protected java.lang.String |
getAutoDate(java.util.Date startDate,
java.util.Date lastDate)
|
protected abstract TimePeriodCollater |
getCollater()
|
org.jfree.data.general.Dataset |
getDataSet()
|
protected java.util.Date |
getEarliestBuildDate(java.util.List<? extends ResultStatisticsProvider> results)
|
protected org.jfree.data.time.RegularTimePeriod |
getFirstPeriod(java.util.Date earliestDataEntry,
java.lang.String periodRange)
|
protected org.jfree.data.time.RegularTimePeriod |
getLastPeriod(java.util.Date latestDataEntry,
java.lang.String periodRange)
|
protected java.util.Date |
getLatestBuildDate(java.util.List<? extends ResultStatisticsProvider> results)
|
java.util.Map<java.lang.String,java.lang.String[]> |
getParams()
|
protected org.jfree.data.time.RegularTimePeriod |
getPeriod(java.util.Date date,
java.lang.String periodRange)
|
java.lang.String |
getPeriodRange()
|
protected boolean |
isInPeriod(org.jfree.data.time.RegularTimePeriod time,
java.util.Date date)
|
protected org.jfree.data.time.TimeTableXYDataset |
populateDataSet(java.util.Collection<ResultsSummary> results,
org.jfree.data.time.TimeTableXYDataset dataset,
java.lang.String seriesName)
|
void |
setAuthorBuilds(java.util.Map<java.lang.String,java.util.List<ResultsSummary>> authorBuilds)
|
void |
setParams(java.util.Map<java.lang.String,java.lang.String[]> params)
|
protected void |
writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset,
TimePeriodCollater collater)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAuthorReportCollector
public AbstractAuthorReportCollector()
getDataSet
public org.jfree.data.general.Dataset getDataSet()
populateDataSet
protected org.jfree.data.time.TimeTableXYDataset populateDataSet(java.util.Collection<ResultsSummary> results,
org.jfree.data.time.TimeTableXYDataset dataset,
java.lang.String seriesName)
getCollater
protected abstract TimePeriodCollater getCollater()
writeCollaterToDataSet
protected void writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset,
TimePeriodCollater collater)
getPeriodRange
public java.lang.String getPeriodRange()
getAutoDate
protected java.lang.String getAutoDate(java.util.Date startDate,
java.util.Date lastDate)
getAllPeriodsBetweenDates
protected java.util.List<org.jfree.data.time.RegularTimePeriod> getAllPeriodsBetweenDates(java.util.Date earliest,
java.util.Date latest)
getEarliestBuildDate
@Nullable
protected java.util.Date getEarliestBuildDate(java.util.List<? extends ResultStatisticsProvider> results)
getLatestBuildDate
@Nullable
protected java.util.Date getLatestBuildDate(java.util.List<? extends ResultStatisticsProvider> results)
isInPeriod
protected boolean isInPeriod(org.jfree.data.time.RegularTimePeriod time,
java.util.Date date)
getFirstPeriod
protected org.jfree.data.time.RegularTimePeriod getFirstPeriod(java.util.Date earliestDataEntry,
java.lang.String periodRange)
getLastPeriod
protected org.jfree.data.time.RegularTimePeriod getLastPeriod(java.util.Date latestDataEntry,
java.lang.String periodRange)
getPeriod
protected org.jfree.data.time.RegularTimePeriod getPeriod(java.util.Date date,
java.lang.String periodRange)
getParams
public java.util.Map<java.lang.String,java.lang.String[]> getParams()
setParams
public void setParams(java.util.Map<java.lang.String,java.lang.String[]> params)
getAuthorBuilds
public java.util.Map<java.lang.String,java.util.List<ResultsSummary>> getAuthorBuilds()
setAuthorBuilds
public void setAuthorBuilds(java.util.Map<java.lang.String,java.util.List<ResultsSummary>> authorBuilds)
Copyright © 2012 Atlassian. All Rights Reserved.