Class Metric
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.bean.AbstractGroupingElement<Metric.MetricType>
-
- lumis.service.analytics.eventanalytics.bean.Metric
-
public class Metric extends AbstractGroupingElement<Metric.MetricType>
A report metric.- Since:
- 14.0.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Metric.MetricType
The metric type.
-
Constructor Summary
Constructors Constructor Description Metric(org.json.JSONObject metricJson)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFormattedDescription()
Returns a formatted description.java.lang.String
getId()
Returns the identifier.protected java.lang.String
getTargetFieldId(org.json.JSONObject groupingJson)
-
Methods inherited from class lumis.service.analytics.eventanalytics.bean.AbstractGroupingElement
getGroupingField, getGroupingTyping, getGroupingUserAttribute
-
-
-
-
Constructor Detail
-
Metric
public Metric(org.json.JSONObject metricJson) throws PortalException
Creates a new instance.- Parameters:
metricJson
- the JSON- Throws:
PortalException
- Since:
- 14.2.0
-
-
Method Detail
-
getTargetFieldId
protected java.lang.String getTargetFieldId(org.json.JSONObject groupingJson)
-
getFormattedDescription
public java.lang.String getFormattedDescription() throws PortalException
Returns a formatted description.- Returns:
- a formatted description.
- Throws:
PortalException
- Since:
- 14.0.0
-
getId
public java.lang.String getId()
Returns the identifier.- Returns:
- the identifier.
- Since:
- 14.0.0
-
-