Package org.evrete.api
Interface Knowledge
- All Superinterfaces:
EvaluationListeners,FluentImports<RuntimeContext<?>>,Listeners,PropertyAccess<Knowledge>,RuleSet<org.evrete.runtime.RuleDescriptor>,RuntimeContext<Knowledge>
public interface Knowledge extends RuntimeContext<Knowledge>, RuleSet<org.evrete.runtime.RuleDescriptor>
-
Field Summary
Fields inherited from interface org.evrete.api.RuntimeContext
SALIENCE_COMPARATOR -
Method Summary
Modifier and Type Method Description default <A extends ActivationManager>
KnowledgeactivationManager(Class<A> factory)KnowledgeaddImport(RuleScope scope, Class<?> type)KnowledgeaddImport(RuleScope scope, String imp)StatefulSessioncreateSession()Collection<RuleSession<?>>getSessions()Methods inherited from interface org.evrete.api.EvaluationListeners
addListener, removeListenerMethods inherited from interface org.evrete.api.FluentImports
getImportsMethods inherited from interface org.evrete.api.PropertyAccess
get, get, getPropertyNames, setMethods inherited from interface org.evrete.api.RuleSet
compileRule, getRules, ruleExistsMethods inherited from interface org.evrete.api.RuntimeContext
appendDslRules, appendDslRules, appendDslRules, appendDslRules, appendDslRules, getActivationManagerFactory, getClassLoader, getConfiguration, getExpressionResolver, getRuleComparator, getService, getTypeResolver, newRule, newRule, setActivationManagerFactory, setActivationManagerFactory, setActivationMode, setClassLoader, setRuleComparator, wrapTypeResolver
-
Method Details
-
getSessions
Collection<RuleSession<?>> getSessions() -
createSession
StatefulSession createSession() -
addImport
- Specified by:
addImportin interfaceFluentImports<RuntimeContext<?>>
-
addImport
- Specified by:
addImportin interfaceFluentImports<RuntimeContext<?>>
-
activationManager
-