public abstract class BaseRule extends BaseEventSetProcessor<RuleAdapter> implements Rule
| Constructor and Description |
|---|
BaseRule() |
getEventSetProcessorAdapterImpl, getFirstEvent, getGroupgetAdapter, getKb, getKnowledgeBase, getLogger, getSponge, onInit, setAdapter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFirstEvent, getGroupgetAdapter, getLogger, getSponge, onConfigure, onInitgetKnowledgeBaseprotected final BaseRuleAdapter getRuleAdapterImpl()
public BaseRuleMeta getMeta()
getMeta in interface EventProcessorOperationsgetMeta in interface EventSetProcessorOperationsgetMeta in interface ProcessorOperationsgetMeta in interface RuleOperationsgetMeta in class BaseEventSetProcessor<RuleAdapter>public final List<Event> getEventSequence()
getEventSequence in interface Rulepublic final RuleAdapter createAdapter()
createAdapter in interface ProcessorAdapterFactory<RuleAdapter>public BaseRule withName(String name)
withName in class BaseProcessor<RuleAdapter>public BaseRule withLabel(String label)
withLabel in class BaseProcessor<RuleAdapter>public BaseRule withDescription(String description)
withDescription in class BaseProcessor<RuleAdapter>public BaseRule withVersion(Integer version)
withVersion in class BaseProcessor<RuleAdapter>public BaseRule withFeatures(Map<String,Object> features)
withFeatures in class BaseProcessor<RuleAdapter>public BaseRule withFeature(String name, Object value)
withFeature in class BaseProcessor<RuleAdapter>public BaseRule withCategory(String category)
withCategory in class BaseProcessor<RuleAdapter>public BaseRule withEvents(List<String> eventStringSpecs)
withEvents in class BaseEventProcessor<RuleAdapter>public BaseRule withEvent(String eventStringSpec)
withEvent in class BaseEventProcessor<RuleAdapter>public BaseRule withDuration(Duration duration)
withDuration in class BaseEventSetProcessor<RuleAdapter>public BaseRule withSynchronous(Boolean synchronous)
withSynchronous in class BaseEventSetProcessor<RuleAdapter>public BaseRule withEventConditions(String eventAlias, List<EventCondition> conditions)
public BaseRule withEventCondition(String eventAlias, EventCondition condition)
public BaseRule withAllEventConditions(List<EventCondition> conditions)
public BaseRule withAllEventCondition(EventCondition condition)
public BaseRule withEventSpecs(List<RuleEventSpec> eventSpecs)
public BaseRule withEventSpec(RuleEventSpec eventSpec)
public BaseRule withOrdered(boolean ordered)
Copyright © 2016–2021 Softelnet. All rights reserved.