public interface RuleListenerService
Modifier and Type | Interface and Description |
---|---|
static class |
RuleListenerService.AlreadyRaisedFor
This enum indicates which type of already raised event we are dealing with
|
Modifier and Type | Method and Description |
---|---|
void |
onAlreadyRaised(RuleListenerService.AlreadyRaisedFor alreadyRaisedFor,
Rule rule,
Event event)
Called when a rule has already been raised either for a session or a profile.
|
void |
onEvaluate(Rule rule,
Event event)
Called before a rule's conditions are evaluated.
|
void |
onExecuteActions(Rule rule,
Event event)
Called just before a matching rule's actions are about to be executed.
|
void onEvaluate(Rule rule, Event event)
rule
- the rule that is being evaluatedevent
- the event we are processing and evaluating against the rulevoid onAlreadyRaised(RuleListenerService.AlreadyRaisedFor alreadyRaisedFor, Rule rule, Event event)
alreadyRaisedFor
- an enum that indicates if the rule was already raised once for the session or for the
profilerule
- the rule that has already been raisedevent
- the event for which this rule has already been raised.Copyright © 2014–2022 Apache Software Foundation. All rights reserved.