Class Metric

    • 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