|
|||||||||||
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 CvsRevision
s 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 Directory s the author
has committed a change to, sorted by name. |
String |
getName()
Returns the author's login name. |
SortedSet |
getRevisions()
Returns all CvsRevision s 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 nameMethod Detail |
protected void addRevision(CvsRevision revision)
CvsRevision
constructor
revision
- a revision committed by this authorpublic String getName()
public SortedSet getRevisions()
CvsRevision
s of this author, sorted from oldest
to most recent.
public SortedSet getDirectories()
Directory
s the author
has committed a change to, sorted by name.
public int compareTo(Object o)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |