public abstract class NashornRule extends BaseRule implements NashornScriptObject
| Constructor and Description |
|---|
NashornRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllConditions(jdk.nashorn.api.scripting.ScriptObjectMirror... functions) |
void |
addCondition(String eventAlias,
jdk.nashorn.api.scripting.ScriptObjectMirror function) |
void |
addConditions(String eventAlias,
jdk.nashorn.api.scripting.ScriptObjectMirror... functions) |
Object |
getSelf() |
Object |
getTarget() |
void |
onConfigure() |
abstract void |
onConfigure(Object self) |
void |
onInit() |
void |
onInit(Object self) |
void |
onRun(org.openksavi.sponge.event.Event event) |
abstract void |
onRun(Object self,
org.openksavi.sponge.event.Event event) |
void |
setTarget(Object target) |
addAllJavaConditions, addJavaCondition, addJavaConditions, createAdapter, getConditions, getEvent, getEventAlias, getEventAliases, getEventAliasMap, getEventMode, getEventModes, getEventSequence, getRuleAdapterImpl, makeEventSpec, makeEventSpec, makeEventSpec, makeEventSpec, setEventAliases, setEventModes, setEvents, setEvents, setOrderedgetDuration, getEventSetProcessorAdapterImpl, getFirstEvent, getGroup, hasDuration, isSynchronous, setDuration, setSynchronousgetEventName, getEventNames, setEvent, setEventName, setEventNamesgetAdapter, getDisplayName, getEps, getKb, getKnowledgeBase, getLogger, getName, setAdapter, setDisplayName, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDuration, hasDuration, isSynchronous, setDuration, setSynchronouspublic Object getSelf()
getSelf in interface NashornScriptObjectpublic Object getTarget()
getTarget in interface NashornScriptObjectpublic void setTarget(Object target)
setTarget in interface NashornScriptObjectpublic final void onConfigure()
onConfigure in interface org.openksavi.sponge.Processor<org.openksavi.sponge.rule.RuleAdapter>public abstract void onConfigure(Object self)
public final void onInit()
onInit in interface org.openksavi.sponge.Processor<org.openksavi.sponge.rule.RuleAdapter>onInit in class BaseProcessor<org.openksavi.sponge.rule.RuleAdapter>public void onInit(Object self)
public final void onRun(org.openksavi.sponge.event.Event event)
onRun in interface org.openksavi.sponge.rule.Rulepublic abstract void onRun(Object self, org.openksavi.sponge.event.Event event)
public void addConditions(String eventAlias, jdk.nashorn.api.scripting.ScriptObjectMirror... functions)
public void addAllConditions(jdk.nashorn.api.scripting.ScriptObjectMirror... functions)
public void addCondition(String eventAlias, jdk.nashorn.api.scripting.ScriptObjectMirror function)
Copyright © 2016–2017 Softelnet. All rights reserved.