|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.utoronto.JCVSReport.UpdateStatistics
UpdateStatistics brings the statistics in the database up to date with the CVS repository.
Constructor Summary | |
UpdateStatistics(MetricDatabase aDatabase,
Cvs aCvs)
Creates UpdateStatistics given a database and a cvs. |
Method Summary | |
void |
importCvsMetadata()
Import the cvs metadata to the database |
void |
importStats(Report report)
Import the statistics |
void |
updateCvsMetadata(Date fromDate)
Updates the database with cvs metadata starting at a particular date. |
void |
updateStats(Report report)
Update all of ring the statistics in the database up to date with the CVS repository. 1) Ask Bloof to update the database with the CVS metadata. 2) For each new revision, read the file into memory and gather the metrics that are needed for our current report |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UpdateStatistics(MetricDatabase aDatabase, Cvs aCvs)
aDatabase
- The database to be updatedaCvs
- The Cvs to be used for information retrievalMethod Detail |
public void updateCvsMetadata(Date fromDate) throws Exception
fromDate
- the date at which we should start the update
Exception
public void importCvsMetadata() throws Exception
Exception
public void updateStats(Report report) throws Exception
report
- The report object with information about metrics
and graphs to be imported
Exception
public void importStats(Report report) throws Exception
report
- The report object with information about metrics
and graphs to be updated
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |