org.javasimon.callback
Interface FilterCallback
- All Superinterfaces:
- Callback
- All Known Implementing Classes:
- CompositeFilterCallback
public interface FilterCallback
- extends Callback
FilterCallback extends Callback adding filtering capabilities. FilterRules can be added to
the filter callback, these allow selective event propagation to sub-callback(s).
- Author:
- Richard "Virgo" Richter
| Methods inherited from interface org.javasimon.callback.Callback |
cleanup, initialize, onCounterDecrease, onCounterIncrease, onCounterSet, onManagerClear, onManagerMessage, onManagerWarning, onSimonCreated, onSimonDestroyed, onSimonReset, onStopwatchAdd, onStopwatchAdd, onStopwatchStart, onStopwatchStop |
addRule
void addRule(FilterRule.Type type,
String condition,
String pattern,
Callback.Event... events)
- Adds the rule to the filter.
- Parameters:
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 © 2013. All Rights Reserved.