public class LOCSeriesBuilder
extends java.lang.Object
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 LocTimeSeriesReportConstructor | Description |
---|---|
LOCSeriesBuilder(java.lang.String seriesTitle,
boolean countEffective) |
Creates a new LOCSeriesBuilder
|
Modifier and Type | Method | Description |
---|---|---|
void |
addRevision(Revision revision) |
Adds a revision to the time series.
|
int |
getMaximum() |
|
org.jfree.data.time.TimeSeries |
getTimeSeries() |
gets the finished time series.
|
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.public void addRevision(Revision revision)
revision
- the revision to add to the seriespublic org.jfree.data.time.TimeSeries getTimeSeries()
public int getMaximum()