Groovy Documentation

org.gmetrics.result
Class AggregateNumberMetricResult

java.lang.Object
  org.gmetrics.result.AggregateNumberMetricResult

class AggregateNumberMetricResult

A NumberMetricResult that aggregates multiple values. This MetricResult supports the 'total', 'average', 'minimum' and 'maximum' functions.

Authors:
Chris Mair
Version:
\$Revision: 130 \$ - \$Date: 2010-07-21 22:46:24 -0400 (Wed, 21 Jul 2010) \$


Property Summary
Integer lineNumber

Metric metric

int scale

 
Constructor Summary
AggregateNumberMetricResult(Metric metric, Collection children, Integer lineNumber = null)

 
Method Summary
protected void calculateFunctions(Metric metric, Collection children)

Object getAt(String name)

int getCount()

String toString()

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

lineNumber

final Integer lineNumber


metric

final Metric metric


scale

int scale


 
Constructor Detail

AggregateNumberMetricResult

public AggregateNumberMetricResult(Metric metric, Collection children, Integer lineNumber = null)


 
Method Detail

calculateFunctions

protected void calculateFunctions(Metric metric, Collection children)


getAt

Object getAt(String name)


getCount

int getCount()


toString

String toString()


 

Groovy Documentation