public class BaseRuleMeta extends BaseEventSetProcessorMeta implements RuleMeta
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<EventCondition>> |
conditions |
protected List<RuleEventSpec> |
eventSpecs |
protected boolean |
ordered |
duration| Constructor and Description |
|---|
BaseRuleMeta() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllEventConditions(List<EventCondition> newConditions) |
void |
addEventCondition(String eventAlias,
EventCondition condition) |
void |
addEventConditions(String eventAlias,
List<EventCondition> newConditions) |
void |
addEventSpecs(List<RuleEventSpec> eventSpecs) |
Map<String,List<EventCondition>> |
getEventConditions() |
List<EventCondition> |
getEventConditions(String eventAlias) |
RuleEventSpec |
getEventSpec(int index) |
List<RuleEventSpec> |
getEventSpecs() |
boolean |
isOrdered() |
protected List<EventCondition> |
safeGetEventConditions(String eventAlias) |
void |
setEventSpecs(List<RuleEventSpec> eventSpecs) |
void |
setOrdered(boolean ordered) |
void |
update(BaseProcessorMeta source) |
getDuration, hasDuration, isSynchronous, setDuration, setSynchronousaddEventNames, getEventName, getEventNames, setEventNamesgetCategory, getDescription, getFeatures, getLabel, getName, getVersion, setCategory, setDescription, setFeatures, setLabel, setName, setVersion, withCategory, withDescription, withFeature, withFeatures, withLabel, withName, withVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDuration, hasDuration, isSynchronous, setDuration, setSynchronousaddEventNames, getEventName, getEventNames, setEventNamesgetCategory, setCategorygetDescription, getLabel, getName, setDescription, setLabel, setNamegetVersion, setVersiongetFeatures, setFeaturesprotected boolean ordered
protected List<RuleEventSpec> eventSpecs
protected Map<String,List<EventCondition>> conditions
public void setOrdered(boolean ordered)
setOrdered in interface RuleMetapublic List<RuleEventSpec> getEventSpecs()
getEventSpecs in interface RuleMetapublic RuleEventSpec getEventSpec(int index)
getEventSpec in interface RuleMetapublic void setEventSpecs(List<RuleEventSpec> eventSpecs)
setEventSpecs in interface RuleMetapublic void addEventSpecs(List<RuleEventSpec> eventSpecs)
public void addEventConditions(String eventAlias, List<EventCondition> newConditions)
addEventConditions in interface RuleMetapublic void addEventCondition(String eventAlias, EventCondition condition)
addEventCondition in interface RuleMetapublic void addAllEventConditions(List<EventCondition> newConditions)
addAllEventConditions in interface RuleMetaprotected List<EventCondition> safeGetEventConditions(String eventAlias)
public List<EventCondition> getEventConditions(String eventAlias)
getEventConditions in interface RuleMetapublic Map<String,List<EventCondition>> getEventConditions()
getEventConditions in interface RuleMetapublic void update(BaseProcessorMeta source)
update in class BaseEventSetProcessorMetaCopyright © 2016–2020 Softelnet. All rights reserved.