public interface FilterCallback extends Callback
Callback
adding filtering capabilities. FilterRule
s can be added to
the filter callback, these allow selective event propagation to sub-callback(s).Callback.Event
Modifier and Type | Method and Description |
---|---|
void |
addRule(FilterRule.Type type,
String condition,
String pattern,
Callback.Event... events)
Adds the rule to the filter.
|
cleanup, initialize, onCounterDecrease, onCounterIncrease, onCounterSet, onManagerClear, onManagerMessage, onManagerWarning, onSimonCreated, onSimonDestroyed, onStopwatchAdd, onStopwatchStart, onStopwatchStop
void addRule(FilterRule.Type type, String condition, String pattern, Callback.Event... events)
type
- rule type (must, suffice, must-not)condition
- further conditions of the rulepattern
- Simon patternevents
- event list (empty applies to all, can be omitted)Copyright © 2019. All rights reserved.