public class BaseRuleDefinition extends BaseEventSetProcessorDefinition implements org.openksavi.sponge.rule.RuleDefinition
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
aliases |
protected Map<String,List<org.openksavi.sponge.rule.EventCondition>> |
conditions |
protected org.openksavi.sponge.rule.EventMode[] |
modes |
protected boolean |
ordered |
duration| Constructor and Description |
|---|
BaseRuleDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllJavaConditions(org.openksavi.sponge.rule.EventCondition... newConditions) |
void |
addJavaCondition(String eventAlias,
org.openksavi.sponge.rule.EventCondition condition) |
void |
addJavaConditions(String eventAlias,
org.openksavi.sponge.rule.EventCondition... newConditions) |
List<org.openksavi.sponge.rule.EventCondition> |
getConditions(String eventAlias) |
String |
getEventAlias(int index) |
String[] |
getEventAliases() |
org.openksavi.sponge.rule.EventMode |
getEventMode(int index) |
org.openksavi.sponge.rule.EventMode[] |
getEventModes() |
boolean |
isOrdered() |
protected List<org.openksavi.sponge.rule.EventCondition> |
safeGetEventConditions(String eventAlias) |
void |
setEventAliases(String... aliases) |
void |
setEventModes(org.openksavi.sponge.rule.EventMode... modes) |
void |
setOrdered(boolean ordered) |
getDuration, hasDuration, isSingleton, isSynchronous, setDuration, setSynchronousgetEventName, getEventNames, setEventName, setEventNamesclone, getDisplayName, getKnowledgeBase, getName, isJavaDefined, setDisplayName, setJavaDefined, setKnowledgeBase, setName, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDuration, hasDuration, isSynchronous, setDuration, setSynchronousprotected boolean ordered
protected String[] aliases
protected org.openksavi.sponge.rule.EventMode[] modes
public boolean isOrdered()
public void setOrdered(boolean ordered)
setOrdered in interface org.openksavi.sponge.rule.RuleOperationspublic void setEventAliases(String... aliases)
setEventAliases in interface org.openksavi.sponge.rule.RuleOperationspublic String[] getEventAliases()
getEventAliases in interface org.openksavi.sponge.rule.RuleOperationspublic String getEventAlias(int index)
getEventAlias in interface org.openksavi.sponge.rule.RuleOperationspublic void setEventModes(org.openksavi.sponge.rule.EventMode... modes)
setEventModes in interface org.openksavi.sponge.rule.RuleOperationspublic org.openksavi.sponge.rule.EventMode[] getEventModes()
getEventModes in interface org.openksavi.sponge.rule.RuleOperationspublic org.openksavi.sponge.rule.EventMode getEventMode(int index)
getEventMode in interface org.openksavi.sponge.rule.RuleOperationspublic void addJavaConditions(String eventAlias, org.openksavi.sponge.rule.EventCondition... newConditions)
addJavaConditions in interface org.openksavi.sponge.rule.RuleOperationspublic void addAllJavaConditions(org.openksavi.sponge.rule.EventCondition... newConditions)
addAllJavaConditions in interface org.openksavi.sponge.rule.RuleOperationspublic void addJavaCondition(String eventAlias, org.openksavi.sponge.rule.EventCondition condition)
addJavaCondition in interface org.openksavi.sponge.rule.RuleOperationsprotected List<org.openksavi.sponge.rule.EventCondition> safeGetEventConditions(String eventAlias)
Copyright © 2016–2017 Softelnet. All rights reserved.