|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.statcvs.model.Author
Represents an author of one or more revisions in a repository. TODO: Write tests!
Constructor Summary | |
Author(java.lang.String name)
Creates a new author |
Method Summary | |
void |
addRevision(CvsRevision revision)
adds a revision for this author |
int |
compareTo(java.lang.Object o)
|
java.util.Collection |
getDirectories()
Returns a Set of all Directory s the author has ever committed a
change to |
java.lang.String |
getName()
|
RevisionIterator |
getRevisionIterator()
Returns a RevisionIterator for this author |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Author(java.lang.String name)
name
- the author's nameMethod Detail |
public java.lang.String getName()
public void addRevision(CvsRevision revision)
revision
- a revision committed by this authorpublic RevisionIterator getRevisionIterator()
public java.util.Collection getDirectories()
Directory
s the author has ever committed a
change to
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |