|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.statcvs.model.Author
Represents an author of one or more CvsRevisions in a repository.
TODO: Rename to Login
| Constructor Summary | |
Author(String name)
Creates a new author. |
|
| Method Summary | |
protected void |
addRevision(CvsRevision revision)
Adds a revision for this author; called by CvsRevision constructor |
int |
compareTo(Object o)
Compares the instance to another author, using their login names. |
SortedSet |
getDirectories()
Returns all Directorys the author
has committed a change to, sorted by name. |
String |
getName()
Returns the author's login name. |
SortedSet |
getRevisions()
Returns all CvsRevisions of this author, sorted from oldest
to most recent. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Author(String name)
name - the author's login name| Method Detail |
protected void addRevision(CvsRevision revision)
CvsRevision constructor
revision - a revision committed by this authorpublic String getName()
public SortedSet getRevisions()
CvsRevisions of this author, sorted from oldest
to most recent.
public SortedSet getDirectories()
Directorys the author
has committed a change to, sorted by name.
public int compareTo(Object o)
compareTo in interface ComparableComparable.compareTo(java.lang.Object)public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||