Class AbstractGroupingElement<TYPE extends Enum<TYPE> & IGroupingType>

  • Type Parameters:
    TYPE - the enum type that identifies which type of grouping is performed.
    Direct Known Subclasses:
    GroupBy, Metric

    public abstract class AbstractGroupingElement<TYPE extends Enum<TYPE> & IGroupingType>
    extends Object
    Abstract class that represents a grouping element for Event Analytics.
    Since:
    14.0.0
    Version:
    $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
    • Constructor Detail

      • AbstractGroupingElement

        public AbstractGroupingElement​(org.json.JSONObject groupingJson,
                                       Class<TYPE> enumClass)
                                throws PortalException
        Creates a new instance.
        Parameters:
        groupingJson - the JSON representation of this element.
        enumClass - the enum class.
        Throws:
        PortalException
        Since:
        14.0.0
    • Method Detail

      • getGroupingTyping

        public TYPE getGroupingTyping()
        Returns the grouping type.
        Returns:
        the grouping type.
        Since:
        14.0.0
      • getGroupingField

        public IMonitorField getGroupingField()
        Returns the grouping field (if any).
        Returns:
        the grouping field (if any).
        Since:
        14.0.0