public class BaseRuleBuilder extends BaseEventSetProcessorBuilder<Rule> implements RuleBuilder
| Constructor and Description |
|---|
BaseRuleBuilder(String name) |
getName, getOnInitCallback, setOnInitCallbackclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic BaseRuleBuilder(String name)
public BaseRuleMeta getMeta()
getMeta in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withName(String name)
withName in interface EventProcessorBuilder<Rule>withName in interface EventSetProcessorBuilder<Rule>withName in interface ProcessorBuilder<Rule>withName in interface RuleBuilderwithName in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withLabel(String label)
withLabel in interface EventProcessorBuilder<Rule>withLabel in interface EventSetProcessorBuilder<Rule>withLabel in interface ProcessorBuilder<Rule>withLabel in interface RuleBuilderwithLabel in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withDescription(String description)
withDescription in interface EventProcessorBuilder<Rule>withDescription in interface EventSetProcessorBuilder<Rule>withDescription in interface ProcessorBuilder<Rule>withDescription in interface RuleBuilderwithDescription in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withVersion(Integer version)
withVersion in interface EventProcessorBuilder<Rule>withVersion in interface EventSetProcessorBuilder<Rule>withVersion in interface ProcessorBuilder<Rule>withVersion in interface RuleBuilderwithVersion in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withFeatures(Map<String,Object> features)
withFeatures in interface EventProcessorBuilder<Rule>withFeatures in interface EventSetProcessorBuilder<Rule>withFeatures in interface ProcessorBuilder<Rule>withFeatures in interface RuleBuilderwithFeatures in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withFeature(String name, Object value)
withFeature in interface EventProcessorBuilder<Rule>withFeature in interface EventSetProcessorBuilder<Rule>withFeature in interface ProcessorBuilder<Rule>withFeature in interface RuleBuilderwithFeature in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withCategory(String category)
withCategory in interface EventProcessorBuilder<Rule>withCategory in interface EventSetProcessorBuilder<Rule>withCategory in interface ProcessorBuilder<Rule>withCategory in interface RuleBuilderwithCategory in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withEvents(List<String> eventStringSpecs)
withEvents in interface EventProcessorBuilder<Rule>withEvents in interface EventSetProcessorBuilder<Rule>withEvents in interface RuleBuilderwithEvents in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withEvent(String eventStringSpec)
withEvent in interface EventProcessorBuilder<Rule>withEvent in interface EventSetProcessorBuilder<Rule>withEvent in interface RuleBuilderwithEvent in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withDuration(Duration duration)
withDuration in interface EventSetProcessorBuilder<Rule>withDuration in interface RuleBuilderwithDuration in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withSynchronous(Boolean synchronous)
withSynchronous in interface EventSetProcessorBuilder<Rule>withSynchronous in interface RuleBuilderwithSynchronous in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withEventSpecs(List<RuleEventSpec> eventSpecs)
withEventSpecs in interface RuleBuilderpublic BaseRuleBuilder withEventSpec(RuleEventSpec eventSpec)
withEventSpec in interface RuleBuilderpublic BaseRuleBuilder withOrdered(boolean ordered)
withOrdered in interface RuleBuilderpublic BaseRuleBuilder withCondition(String eventAlias, EventCondition condition)
withCondition in interface RuleBuilderpublic BaseRuleBuilder withAllCondition(EventCondition condition)
withAllCondition in interface RuleBuilderpublic BaseRuleBuilder withOnInit(ProcessorOnInitCallback<Rule> onInitCallback)
withOnInit in interface EventProcessorBuilder<Rule>withOnInit in interface EventSetProcessorBuilder<Rule>withOnInit in interface ProcessorBuilder<Rule>withOnInit in interface RuleBuilderwithOnInit in class BaseEventSetProcessorBuilder<Rule>public BaseRuleBuilder withOnRun(RuleOnRunCallback onRunCallback)
withOnRun in interface RuleBuilderpublic RuleOnRunCallback getOnRunCallback()
public void setOnRunCallback(RuleOnRunCallback onRunCallback)
public Rule build()
build in interface ProcessorBuilder<Rule>Copyright © 2016–2021 Softelnet. All rights reserved.