The atg.abtest.web.reporting.MetricInfo class determines how your metrics are displayed in the Results tab. Create an instance of Metric info for each resource bundle you’ve created. There should be one Metric info component for each resource bundle you use. Provide a value to the following metric info properties:

Property

Description

resourceBundle

The name of the resource bundle that holds resources associated with properties listed in metricIds. Each item in the metricIds property uses a resource bundle to provide a label that identifies the metric as a report in the Results tab. See Defining Resource Bundles for instructions.

metricIds

The names of the properties defined in the ABTestReportRepository that hold values you’d like displayed in the report. Also include property names defined in the report property mapper for calculated values that should appear in the report. The order in which items are included in this property indicates the order they appear in the report.

currencyMetricIds

The subset of properties listed in the metricIds property that hold monetary values. This property causes the appropriate currency symbol to appear in the Results tab for values of the listed properties. The currency code specified in the ABTestReportRepository determines the currency code symbol used here.