ca.utoronto.JCVSReport.metric
Class BasicMetric
java.lang.Object
ca.utoronto.JCVSReport.metric.BasicMetric
- All Implemented Interfaces:
- Metric
- Direct Known Subclasses:
- RegexMatchCounter
- public abstract class BasicMetric
- extends Object
- implements Metric
Gather one metric from a revision of a file and add it to the
Bloof database
- Author:
- David James
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
props
protected ResourceBundle props
id
protected String id
insertMetric
protected PreparedStatement insertMetric
BasicMetric
public BasicMetric()
init
public void init(MetricDatabase database,
String id,
ResourceBundle props)
throws Exception
- Initialize Metric object from properties file
- Specified by:
init
in interface Metric
- Parameters:
database
- Where to insert the metricsid
- The name of the metricprops
- The properties of this metric as specified in the
.properties file
- Throws:
Exception
JCVSReport: Easy Progress Reports for CVS/Java Projects. By David James.