public interface RuleMeta extends EventSetProcessorMeta
| Modifier and Type | Method and Description |
|---|---|
void |
addAllEventConditions(List<EventCondition> conditions)
Adds event conditions for all events.
|
void |
addEventCondition(String eventAlias,
EventCondition condition)
Adds an event condition.
|
void |
addEventConditions(String eventAlias,
List<EventCondition> conditions)
Adds event conditions.
|
Map<String,List<EventCondition>> |
getEventConditions()
Returns event conditions map.
|
List<EventCondition> |
getEventConditions(String eventAlias)
Returns event conditions for the specified event alias.
|
RuleEventSpec |
getEventSpec(int index)
Returns the event specification for the specified event index.
|
List<RuleEventSpec> |
getEventSpecs()
Returns the event specifications.
|
boolean |
isOrdered()
Returns
true if this rule is ordered. |
void |
setEventSpecs(List<RuleEventSpec> eventSpecs)
Sets the event specifications.
|
void |
setOrdered(boolean ordered)
Sets the events for this rule to be ordered or unordered.
|
getDuration, hasDuration, isSynchronous, setDuration, setSynchronousaddEventNames, getEventName, getEventNames, setEventNamesgetCategory, setCategorygetDescription, getLabel, getName, setDescription, setLabel, setNamegetVersion, setVersiongetFeatures, setFeaturesvoid setEventSpecs(List<RuleEventSpec> eventSpecs)
eventSpecs - the event specifications.List<RuleEventSpec> getEventSpecs()
RuleEventSpec getEventSpec(int index)
index - event index.void setOrdered(boolean ordered)
ordered - ordered.boolean isOrdered()
true if this rule is ordered.true if this rule is ordered.void addEventConditions(String eventAlias, List<EventCondition> conditions)
eventAlias - event alias.conditions - event conditions.void addAllEventConditions(List<EventCondition> conditions)
conditions - event conditions.void addEventCondition(String eventAlias, EventCondition condition)
eventAlias - event alias.condition - event condition.List<EventCondition> getEventConditions(String eventAlias)
eventAlias - event alias.Map<String,List<EventCondition>> getEventConditions()
Copyright © 2016–2020 Softelnet. All rights reserved.