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

    Modifier and Type
    Method
    Description
    boolean
    test(de.iip_ecosphere.platform.support.aas.ElementsAccess parent, de.iip_ecosphere.platform.support.json.JsonValue meter)
    Tests whether pushing meter to parent.
  • Method Details

    • test

      boolean test(de.iip_ecosphere.platform.support.aas.ElementsAccess parent, de.iip_ecosphere.platform.support.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