com.atlassian.bamboo.author.collector
Class AbstractAuthorReportCollector

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

public abstract class AbstractAuthorReportCollector
extends java.lang.Object


Constructor Summary
AbstractAuthorReportCollector()
           
 
Method Summary
protected  java.util.List getAllPeriodsBetweenDates(java.util.Date earliest, java.util.Date latest)
           
 java.util.Map 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 results)
           
protected  java.util.Date getLatestbuildDate(java.util.List results)
           
 java.util.Map 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 results, org.jfree.data.time.TimeTableXYDataset dataset, java.lang.String seriesName)
           
 void setAuthorBuilds(java.util.Map authorBuilds)
           
 void setParams(java.util.Map 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
 

Constructor Detail

AbstractAuthorReportCollector

public AbstractAuthorReportCollector()
Method Detail

getDataSet

public org.jfree.data.general.Dataset getDataSet()

populateDataSet

protected org.jfree.data.time.TimeTableXYDataset populateDataSet(java.util.Collection 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 getAllPeriodsBetweenDates(java.util.Date earliest,
                                                   java.util.Date latest)

getEarliestBuildDate

protected java.util.Date getEarliestBuildDate(java.util.List results)

getLatestbuildDate

protected java.util.Date getLatestbuildDate(java.util.List results)

isInPeriod

protected boolean isInPeriod(org.jfree.data.time.RegularTimePeriod time,
                             java.util.Date date)

getPeriod

protected org.jfree.data.time.RegularTimePeriod getPeriod(java.util.Date date,
                                                          java.lang.String periodRange)

getParams

public java.util.Map getParams()

setParams

public void setParams(java.util.Map params)

getAuthorBuilds

public java.util.Map getAuthorBuilds()

setAuthorBuilds

public void setAuthorBuilds(java.util.Map authorBuilds)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.