|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectca.utoronto.JCVSReport.JCVSProject
Represents a project with an associated database and CVS repository. Enables user to import, update and close the project, as well as to produce a report.
| Constructor Summary | |
JCVSProject(CvsAccess aCvsAccess,
DbAccess aDbAccess,
String[] aGraphs)
Creates JCVSReport given database access and SCM access information. |
|
| Method Summary | |
void |
closeProject()
Close the database. |
Report |
getReport()
Access the internal report object |
void |
importProject()
Imports a new project by creating a new database for it, and importing the CVS data for the whole lifetime of the project. |
void |
produceReport(String file,
String directory)
Produces an HTML report with the specified file name and in the specified directory. |
void |
updateProject()
Updates the project since last time it has been updated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JCVSProject(CvsAccess aCvsAccess,
DbAccess aDbAccess,
String[] aGraphs)
aCvsAccess - CVS access informationaDbAccess - Database access informationaGraphs - The graphs to be generated| Method Detail |
public void importProject()
throws Exception
Exception
public void updateProject()
throws Exception
Exception
public void produceReport(String file,
String directory)
throws Exception
file - The file namedirectory - The directory
Exception
public void closeProject()
throws IOException,
SQLException
SQLException - if the database could not be found or started
IOException - if the database could not be found or startedpublic Report getReport()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||