Class AbstractAuthorReportCollector

java.lang.Object
com.atlassian.bamboo.author.collector.AbstractAuthorReportCollector
Direct Known Subclasses:
AuthorBuildsBrokenCollector, AuthorBuildsFailedCollector, AuthorBuildsFixedCollector, AuthorBuildsTriggeredCollector, AuthorSuccessRatioCollector

public abstract class AbstractAuthorReportCollector extends Object
  • 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

      protected abstract TimePeriodCollater getCollater()
    • writeCollaterToDataSet

      protected void writeCollaterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater collater)
    • getPeriodRange

      public String getPeriodRange()
    • getAutoDate

      protected String getAutoDate(Date startDate, Date lastDate)
    • getAllPeriodsBetweenDates

      protected List<org.jfree.data.time.RegularTimePeriod> getAllPeriodsBetweenDates(Date earliest, Date latest)
    • getEarliestBuildDate

      @Nullable protected @Nullable Date getEarliestBuildDate(List<? extends ResultStatisticsProvider> results)
    • getLatestBuildDate

      @Nullable protected @Nullable Date getLatestBuildDate(List<? extends ResultStatisticsProvider> results)
    • isInPeriod

      protected boolean isInPeriod(org.jfree.data.time.RegularTimePeriod time, Date date)
    • getFirstPeriod

      protected org.jfree.data.time.RegularTimePeriod getFirstPeriod(Date earliestDataEntry, String periodRange)
    • getLastPeriod

      protected org.jfree.data.time.RegularTimePeriod getLastPeriod(Date latestDataEntry, String periodRange)
    • getPeriod

      protected org.jfree.data.time.RegularTimePeriod getPeriod(Date date, String periodRange)
    • getParams

      public Map<String,String[]> getParams()
    • setParams

      public void setParams(Map<String,String[]> params)
    • getAuthorBuilds

      public Map<String,List<ResultsSummary>> getAuthorBuilds()
    • setAuthorBuilds

      public void setAuthorBuilds(Map<String,List<ResultsSummary>> authorBuilds)