|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for every metric that can be used with Bloof
Field Summary | |
static java.lang.String |
XML_HEAD
|
Method Summary | |
java.lang.String |
getDescription()
Returns the description of the metric |
java.lang.String |
getName()
Returns the Name of the metric |
MetricParameter |
getParameter()
Returns the MetricParameter object of this metric |
javax.swing.JComponent |
getResultComponent()
Returns the metric result as java component |
net.n3.nanoxml.XMLElement |
getResultXml()
Returns the metric result as XML Document |
void |
runMetric(Database aDatabase)
Runs the metric |
void |
setupMetric(MetricParameter aMetricParams)
Initializes the metric with the specified parameter |
Field Detail |
public static final java.lang.String XML_HEAD
Method Detail |
public java.lang.String getDescription()
public java.lang.String getName()
public MetricParameter getParameter()
public javax.swing.JComponent getResultComponent()
public net.n3.nanoxml.XMLElement getResultXml()
public void runMetric(Database aDatabase) throws java.sql.SQLException
aDatabase
- Database for running the metric
java.sql.SQLException
- on database connection errorpublic void setupMetric(MetricParameter aMetricParams)
aMetricParams
- parameter of the metrics
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |