public abstract class NashornRule extends BaseRule implements NashornScriptObject
| Constructor and Description |
|---|
NashornRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(String eventAlias,
jdk.nashorn.api.scripting.ScriptObjectMirror function) |
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 |
setConditions(String eventAlias,
jdk.nashorn.api.scripting.ScriptObjectMirror... functions) |
void |
setTarget(Object target) |
addJavaCondition, createAdapter, getAdapterImpl, getConditions, getEvent, getEventAlias, getEventAliases, getEventAliasMap, getEventMode, getEventModes, getEventSequence, makeEventSpec, makeEventSpec, makeEventSpec, makeEventSpec, setEventAliases, setEventModes, setEvents, setEvents, setJavaConditionsgetDuration, 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 setConditions(String eventAlias, jdk.nashorn.api.scripting.ScriptObjectMirror... functions)
public void addCondition(String eventAlias, jdk.nashorn.api.scripting.ScriptObjectMirror function)
Copyright © 2016–2017 Softelnet. All rights reserved.