SamplingEventTriggerExecutor
Runs a SamplingEventTrigger: fires on matching measurements in the study.
A measurement matches if its type is SamplingEventTrigger.measureType and its data is equivalent to SamplingEventTrigger.triggerCondition. Fires on every measurement of that type if there is no condition.
- Inheritance
-
- Object
- AbstractExecutor<
SamplingEventTrigger> - TriggerExecutor<
SamplingEventTrigger> - SamplingEventTriggerExecutor
Constructors
SamplingEventTriggerExecutor
Methods
onPause
Called by pause. Returns true if successfully paused.
If false, the state is not changed.
onResume
Called by resume. Returns true if successfully resumed.
If false, the executor moves to ExecutorState.PausedButShouldBeResumed.