|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.statcvs.model.CvsContent
Representation of a CVS Repository. The content is stored in a HashMap. The keys are the filenames and the values a reference to a CvsFile object.
CvsFile
Constructor Summary | |
CvsContent(java.lang.String name,
java.util.List files)
The CvsContent constructor. |
Method Summary | |
Author |
getAuthor(java.lang.String name)
|
java.util.Collection |
getAuthors()
|
int |
getCurrentLOC()
returns the current LOC count of the repository |
java.util.List |
getDirectories()
Returns a collection of all Directory objects in the repository,
ordered in tree order |
java.util.List |
getFiles()
Returns a list of all CvsFile s, in no particular order |
java.util.Date |
getFirstDate()
Returns the first Date when there
were changes on the repository. |
java.util.Date |
getLastDate()
Returns the latest Date when there
were changes on the repository. |
java.lang.String |
getModuleName()
Returns the name of currnet module. |
RevisionIterator |
getRevisionIterator()
Returns a RevisionIterator on all revisions
in the repository. |
Directory |
getRoot()
|
boolean |
isEmpty()
|
java.lang.String |
toString()
Returns a string representation of all files in the repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CvsContent(java.lang.String name, java.util.List files)
name
- The name of the modulefiles
- a List of CvsFile
objectsMethod Detail |
public java.lang.String getModuleName()
public java.util.Date getLastDate()
Date
when there
were changes on the repository.
public java.util.Date getFirstDate()
Date
when there
were changes on the repository.
public int getCurrentLOC()
public java.util.List getFiles()
CvsFile
s, in no particular order
CvsFile
spublic boolean isEmpty()
public RevisionIterator getRevisionIterator()
RevisionIterator
on all revisions
in the repository. The revisions are in no particular order.
public java.util.List getDirectories()
Directory
objects in the repository,
ordered in tree order
public Directory getRoot()
public java.lang.String toString()
toString
in class java.lang.Object
public Author getAuthor(java.lang.String name)
name
- an author's name
public java.util.Collection getAuthors()
Author
s who have committed to the
repository
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |