public class NashornScriptKnowledgeBaseEventCondition extends Object implements org.openksavi.sponge.rule.EventCondition
| Constructor and Description |
|---|
NashornScriptKnowledgeBaseEventCondition(jdk.nashorn.api.scripting.ScriptObjectMirror function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
condition(org.openksavi.sponge.rule.Rule rule,
org.openksavi.sponge.event.Event event)
Checks rule event condition by evaluating the defined knowledge base rule method.
|
public NashornScriptKnowledgeBaseEventCondition(jdk.nashorn.api.scripting.ScriptObjectMirror function)
public boolean condition(org.openksavi.sponge.rule.Rule rule,
org.openksavi.sponge.event.Event event)
condition in interface org.openksavi.sponge.rule.EventConditionrule - rule.event - event.true if this condition is met.Copyright © 2016–2019 Softelnet. All rights reserved.