Interface MetricsAasConstructor.PushMeterPredicate

  • Enclosing class:
    MetricsAasConstructor

    public static interface MetricsAasConstructor.PushMeterPredicate
    Predicate to determine whether pushing a meter value shall happen.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean test​(de.iip_ecosphere.platform.support.aas.ElementsAccess parent, javax.json.JsonValue meter)
      Tests whether pushing meter to parent.
    • Method Detail

      • test

        boolean test​(de.iip_ecosphere.platform.support.aas.ElementsAccess parent,
                     javax.json.JsonValue meter)
        Tests whether pushing meter to parent. DeviceId is already matched.
        Parameters:
        parent - the parent element
        meter - the meter
        Returns:
        true if pushing is enabled, false if disabled and the meter shall not be pushed