|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Gather one metric from a revision of a file and add it to the Bloof database
Method Summary | |
void |
init(MetricDatabase database,
String id,
ResourceBundle props)
Initialize Metric from properties file |
void |
processRevision(String revisionId,
String contents)
Process the contents of a revision of a file with each metric |
Method Detail |
public void init(MetricDatabase database, String id, ResourceBundle props) throws Exception
database
- Where to insert the metricsid
- The name of the metricprops
- The properties of this metric as specified in the
.properties file
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 processed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |