Class BaseThresholdDefConfigWrapper

    • Constructor Detail

      • BaseThresholdDefConfigWrapper

        protected BaseThresholdDefConfigWrapper​(Basethresholddef baseDef)

        Constructor for BaseThresholdDefConfigWrapper.

        Parameters:
        baseDef - a Basethresholddef object.
    • Method Detail

      • getFilterDatasources

        public java.util.List<java.lang.String> getFilterDatasources()
        Returns the names of the datasources required from the resource filters
        Returns:
        Collection of the names of datasources
      • getDatasourceExpression

        public abstract java.lang.String getDatasourceExpression()

        getDatasourceExpression

        Returns:
        a descriptive string for the data source - typically either a data source name, or an expression of data source names
      • getRequiredDatasources

        public abstract java.util.Collection<java.lang.String> getRequiredDatasources()
        Returns the names of the datasources required to evaluate this threshold
        Returns:
        Collection of the names of datasources
      • getDsType

        public java.lang.String getDsType()

        getDsType

        Returns:
        a String object.
      • getDsLabel

        public java.util.Optional<java.lang.String> getDsLabel()

        getDsLabel

        Returns:
        a String object.
      • getRearm

        public java.lang.Double getRearm()

        getRearm

        Returns:
        a Double.
      • getRearmString

        public java.lang.String getRearmString()
      • getTrigger

        public java.lang.Integer getTrigger()

        getTrigger

        Returns:
        a Integer.
      • getTriggerString

        public java.lang.String getTriggerString()
      • getType

        public ThresholdType getType()

        getType

        Returns:
        a String object.
      • getValue

        public java.lang.Double getValue()

        getValue

        Returns:
        a Double.
      • getValueString

        public java.lang.String getValueString()
      • hasRearm

        public boolean hasRearm()

        hasRearm

        Returns:
        a boolean.
      • hasTrigger

        public boolean hasTrigger()

        hasTrigger

        Returns:
        a boolean.
      • hasValue

        public boolean hasValue()

        hasValue

        Returns:
        a boolean.
      • getTriggeredUEI

        public java.util.Optional<java.lang.String> getTriggeredUEI()

        getTriggeredUEI

        Returns:
        a String object.
      • getRearmedUEI

        public java.util.Optional<java.lang.String> getRearmedUEI()

        getRearmedUEI

        Returns:
        a String object.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object