|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statcvs.reports.LOCSeriesBuilder
Builds a BasicTimesSeries for the LOC history of a set of
revisions. All revisions that should be counted must be passed to
the addRevision(net.sf.statcvs.model.Revision)
method. When all revisions have been passed
to this method, a BasicTimeSeries can
be obtained from getTimeSeries()
and can be added to a chart.
TODO: Replace by a custom LocTimeSeriesReport
Constructor Summary | |
LOCSeriesBuilder(java.lang.String seriesTitle,
boolean countEffective)
Creates a new LOCSeriesBuilder |
Method Summary | |
void |
addRevision(Revision revision)
Adds a revision to the time series. |
int |
getMaximum()
|
org.jfree.data.time.TimeSeries |
getTimeSeries()
gets the finished time series. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LOCSeriesBuilder(java.lang.String seriesTitle, boolean countEffective)
seriesTitle
- the title for the time seriescountEffective
- If true, the effective LOC number will
be counted. If false, the contributed
value of new lines will be counted.Method Detail |
public void addRevision(Revision revision)
revision
- the revision to add to the seriespublic org.jfree.data.time.TimeSeries getTimeSeries()
public int getMaximum()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |