|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectca.utoronto.JCVSReport.metric.MetricSet
MetricSet: Gather a set of metric from a revision of a file and add it to the Bloof database
| Constructor Summary | |
MetricSet(MetricDatabase database)
Initialize our set of Metrics |
|
| Method Summary | |
void |
addMetric(String metricName)
Add a metric to this metricSet |
static String |
metricTitle(String metricName)
Get the title of a particular metric |
void |
processRevision(String revisionId,
String contents)
Process the contents of a revision of a file with each metric |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MetricSet(MetricDatabase database)
database - The database we should update| Method Detail |
public static String metricTitle(String metricName)
metricName - the name of the metric
public void addMetric(String metricName)
throws Exception
metricName - The metric we want to add
Exception - if any of the metrics cannot be loaded
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 processed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||