org.arm4.arm40.metric

Class ArmTranReportWithMetrics

public class ArmTranReportWithMetrics extends ArmTranReport implements ArmTranReportWithMetrics

A subclass of ArmTranReport that is used if the application wishes to use metrics. All the ArmTranReport rules for using report() apply to this interface. It extends ArmTranReport by adding methods to manipulate metrics. The ArmMetric subclass objects are bound to an ArmTranReportWithMetrics object when it is created. This is done by specifying ArmMetricGroup in the newArmTranReportWithMetrics() method of ArmMetricFactory.

Objects implementing this interface are created using ArmMetricFactory.

Version: $Revision$ $Date$

Author: dcarter

Constructor Summary
ArmTranReportWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group, ArmFactory factory)
Create ARM Transaction Report with Metrics.
Method Summary
ArmApplicationgetApplication()
ArmMetricGroupgetMetricGroup()
ArmTransactionWithMetricsDefinitiongetTransactionWithMetricsDefinition()

Constructor Detail

ArmTranReportWithMetrics

public ArmTranReportWithMetrics(ArmApplication app, ArmTransactionWithMetricsDefinition definition, ArmMetricGroup group, ArmFactory factory)
Create ARM Transaction Report with Metrics.

Parameters: app definition group factory

Method Detail

getApplication

public ArmApplication getApplication()

Returns: the object that contains the application definitions.

getMetricGroup

public ArmMetricGroup getMetricGroup()

getTransactionWithMetricsDefinition

public ArmTransactionWithMetricsDefinition getTransactionWithMetricsDefinition()