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: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
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
-
-
-
-
Constructor Detail
-
Metric
public Metric(org.json.JSONObject metricJson) throws PortalException
Creates a new instance.- Parameters:
metricJson
- the JSON- Throws:
PortalException
- Since:
- 14.0.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
-
-