|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.utoronto.JCVSReport.report.Report
Write a set of graphs out to an HTML file
Constructor Summary | |
Report(MetricDatabase database)
Initialize a new Report object |
Method Summary | |
void |
addGraph(String graphName)
Add a graph to this report |
void |
addGraphs(String[] graphNames)
Add in a set of graphs |
Graph[] |
getGraphs()
Get a list of the graphs |
void |
processRevision(String revisionId,
String contents)
Process the contents of a revision of a file with each metric |
void |
write(PrintWriter output,
File directory)
Write reports to an output directory |
void |
write(String output,
String directory)
Write reports to an output directory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Report(MetricDatabase database)
database
- Where to get our statisticsMethod Detail |
public void addGraph(String graphName) throws Exception
graphName
- The name of the graph we want to add
Exception
public void addGraphs(String[] graphNames) throws Exception
graphNames
- The names of the graphs we want to add
Exception
public void write(String output, String directory) throws Exception
output
- Where to write the HTML reportdirectory
- Where to store images
Exception
public void write(PrintWriter output, File directory) throws Exception
output
- Where to write the HTML reportdirectory
- Where to store images
Exception
public void processRevision(String revisionId, String contents) throws Exception
revisionId
- A unique ID for this revision of this filecontents
- The contents of the file as a string
Exception
- if this revision cannot be processedpublic Graph[] getGraphs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |