Class ThresholdConfigWrapper

    • Constructor Detail

      • ThresholdConfigWrapper

        public ThresholdConfigWrapper​(Threshold threshold)

        Constructor for ThresholdConfigWrapper.

        Parameters:
        threshold - a Threshold object.
    • Method Detail

      • getDatasourceExpression

        public java.lang.String getDatasourceExpression()

        getDatasourceExpression

        Specified by:
        getDatasourceExpression in class BaseThresholdDefConfigWrapper
        Returns:
        a descriptive string for the data source - typically either a data source name, or an expression of data source names
      • getRequiredDatasources

        public java.util.Collection<java.lang.String> getRequiredDatasources()
        Returns the names of the datasources required to evaluate this threshold
        Specified by:
        getRequiredDatasources in class BaseThresholdDefConfigWrapper
        Returns:
        Collection of the names of datasources
      • evaluate

        public double evaluate​(java.util.Map<java.lang.String,​java.lang.Double> values)