triggerCondition property
Data?
triggerCondition
getter/setter pair
The specific sampling value to compare with for triggering this trigger.
When comparing, the Data.equivalentTo
method. is used. Hence, the
sampled data must be "equivalent" to this triggerCondition in order to
trigger based on an event.
Note that the equivalentTo
method must be overwritten in
application-specific Data
classes to support this.
If triggerCondition is null, sampling will be triggered on every sampling event that matches the specified measureType.
Implementation
Data? triggerCondition;