|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.model.RevisionIteratorSummary
public class RevisionIteratorSummary
Utility class which provides useful information
about a RevisionIterator
, for example
the number of elements on the iterator, a list
of affected files, and the date of the first
commit.
Constructor Summary | |
---|---|
RevisionIteratorSummary(RevisionIterator source)
Creates a new RevisionIteratorSummary ,
based on a source RevisionIterator . |
Method Summary | |
---|---|
java.util.Set |
getAllAuthors()
Returns a set of all authors which have committed revisions in the source set. |
java.util.Set |
getAllFiles()
Returns a set of all CvsFile objects
which are affected by the revisions in the source set. |
java.util.Date |
getFirstDate()
Gets the date of the earliest revision in the source set. |
java.util.Date |
getLastDate()
Gets the date of the latest revision in the source set. |
int |
getLineValue()
Returns the number of code lines that were added in the source change set. |
int |
size()
Returns the number of revisions (changes) in this set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RevisionIteratorSummary(RevisionIterator source)
RevisionIteratorSummary
,
based on a source RevisionIterator
. The
source iterator's reset() method is
called.
- Parameters:
source
- the source iterator
Method Detail |
---|
public int size()
public java.util.Set getAllAuthors()
Author
objectspublic java.util.Date getFirstDate()
public java.util.Date getLastDate()
public java.util.Set getAllFiles()
CvsFile
objects
which are affected by the revisions in the source set.
CvsFile
objectspublic int getLineValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |