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: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
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 String
getFormattedDescription()
Returns a formatted description.String
getId()
Returns the identifier.protected 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 String getTargetFieldId(org.json.JSONObject groupingJson)
-
getFormattedDescription
public String getFormattedDescription() throws PortalException
Returns a formatted description.- Returns:
- a formatted description.
- Throws:
PortalException
- Since:
- 14.0.0
-
getId
public String getId()
Returns the identifier.- Returns:
- the identifier.
- Since:
- 14.0.0
-
-