Package org.evrete.api
Interface RuntimeContext<C extends RuntimeContext<C>>
- All Superinterfaces:
Listeners
- All Known Subinterfaces:
Knowledge,StatefulSession
public interface RuntimeContext<C extends RuntimeContext<C>> extends Listeners
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRuntimeContext.Kind -
Field Summary
Fields Modifier and Type Field Description static Comparator<Rule>SALIENCE_COMPARATOR -
Method Summary
Modifier and Type Method Description org.evrete.runtime.RuleDescriptorcompileRule(RuleBuilder<?> builder)RuntimeRuledeployRule(org.evrete.runtime.RuleDescriptor descriptor)ConfigurationgetConfiguration()RuntimeContext.KindgetKind()org.evrete.runtime.RuntimeListenersgetListeners()Comparator<Rule>getRuleComparator()org.evrete.runtime.RuleDescriptorgetRuleDescriptor(String name)default org.evrete.runtime.RuleDescriptorgetRuleDescriptor(Named named)TypeResolvergetTypeResolver()RuleBuilder<C>newRule()RuleBuilder<C>newRule(String name)booleanruleExists(String name)voidsetRuleComparator(Comparator<Rule> comparator)voidwrapTypeResolver(TypeResolverWrapper wrapper)
-
Field Details
-
Method Details
-
getRuleComparator
Comparator<Rule> getRuleComparator() -
setRuleComparator
-
ruleExists
-
getKind
RuntimeContext.Kind getKind() -
compileRule
-
deployRule
-
newRule
-
newRule
RuleBuilder<C> newRule() -
wrapTypeResolver
-
getListeners
org.evrete.runtime.RuntimeListeners getListeners() -
getTypeResolver
TypeResolver getTypeResolver() -
getRuleDescriptor
-
getRuleDescriptor
-
getConfiguration
Configuration getConfiguration()
-