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 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