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 TypeMethodDescriptionbooleantest(de.iip_ecosphere.platform.support.aas.ElementsAccess parent, de.iip_ecosphere.platform.support.json.JsonValue meter) Tests whether pushingmetertoparent.
-
Method Details
-
test
boolean test(de.iip_ecosphere.platform.support.aas.ElementsAccess parent, de.iip_ecosphere.platform.support.json.JsonValue meter) Tests whether pushingmetertoparent. DeviceId is already matched.- Parameters:
parent- the parent elementmeter- the meter- Returns:
trueif pushing is enabled,falseif disabled and the meter shall not be pushed
-