public class ReflectionEventCondition extends MethodNameEventCondition
| Modifier | Constructor and Description |
|---|---|
protected |
ReflectionEventCondition(Method method)
Creates a new reflection rule event condition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
condition(Rule rule,
Event event)
Checks rule event condition by invoking the defined Java rule class method.
|
static ReflectionEventCondition |
create(Rule rule,
String methodName) |
static Method |
resolveMethod(Rule rule,
String methodName) |
getMethodNameprotected ReflectionEventCondition(Method method)
method - Java-based rule class method.public boolean condition(Rule rule, Event event)
rule - rule.event - event.true if this condition is met.public static ReflectionEventCondition create(Rule rule, String methodName)
Copyright © 2016–2020 Softelnet. All rights reserved.