|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.gmetrics.result.MetricResultBuilder
class MetricResultBuilder
A Builder for MetricResult objects.
Property Summary | |
---|---|
Metric |
metric
|
MetricLevel |
metricLevel
|
int |
scale
|
Method Summary | |
---|---|
MetricResult
|
createAggregateMetricResult(Collection children, Integer lineNumber, Map overrideValues = null)
Calculate the aggregate metric results for the specified child metric results. |
String
|
toString()
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
Metric metric
MetricLevel metricLevel
int scale
Method Detail |
---|
MetricResult createAggregateMetricResult(Collection children, Integer lineNumber, Map overrideValues = null)
children
- - the optional collection of results from childrenlineNumber
- - the line number for the source element (AST) that triggered this metric result; may be nulloverrideValues
- - the optional Map of functionName:resultValue to specify override values
for the specified functions; may be null or empty to specify no predefined values
String toString()
Groovy Documentation