Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractRule - Class in org.evrete
-
Abstract base class that implements the
Ruleinterface. - AbstractRule(String) - Constructor for class org.evrete.AbstractRule
- AbstractRule(AbstractRule, String, int) - Constructor for class org.evrete.AbstractRule
- AbstractSessionWrapper<S extends RuleSession<S>> - Class in org.evrete.util
-
This class provides an abstract implementation of the RuleSession interface, delegating the session's methods to a provided delegate object.
- AbstractSessionWrapper(S) - Constructor for class org.evrete.util.AbstractSessionWrapper
- accumulator() - Method in class org.evrete.util.SessionCollector
- Action - Enum Class in org.evrete.api
-
The Action enum represents the actions that can be performed on a rule session.
- activationManager(Class<A>) - Method in interface org.evrete.api.Knowledge
-
Sets the Activation Manager for the Knowledge instance.
- ActivationManager - Interface in org.evrete.api
-
Activation manager controls whether an active rule should really fire based on the history of previous activations.
- ActivationMode - Enum Class in org.evrete.api
-
Enum representing the activation mode for a session.
- add(String) - Method in class org.evrete.api.Imports
- add(MemoryKey) - Method in interface org.evrete.api.MemoryKeyCollection
- addEvaluator(Evaluator) - Method in interface org.evrete.api.EvaluatorsContext
- addEvaluator(Evaluator, double) - Method in interface org.evrete.api.EvaluatorsContext
-
Registers new condition evaluator and returns its handle.
- addEvaluator(Evaluator, double) - Method in class org.evrete.util.AbstractSessionWrapper
- addEventListener(SessionLifecycleListener) - Method in interface org.evrete.api.RuleSession
-
Adds a session lifecycle listener to receive session lifecycle events.
- addEventListener(SessionLifecycleListener) - Method in class org.evrete.util.AbstractSessionWrapper
- addFactDeclaration(String, Class<?>) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a fact declaration to the current LhsBuilder.
- addFactDeclaration(String, Class<?>) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- addFactDeclaration(String, String) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a fact declaration to the current LhsBuilder.
- addFactDeclaration(String, String) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- addFactDeclaration(String, Type<?>) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a fact declaration to the current LhsBuilder.
- addFactDeclaration(String, Type<?>) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- addImport(Class<?>) - Method in interface org.evrete.api.FluentImports
-
Adds an explicit type import.
- addImport(String) - Method in interface org.evrete.api.FluentImports
-
Adds an import statement using its string representation.
- addImport(String) - Method in class org.evrete.Configuration
- addImport(String) - Method in class org.evrete.util.AbstractSessionWrapper
- addListener(EvaluationListener) - Method in interface org.evrete.api.EvaluationListeners
-
Adds a listener to be notified of evaluation events.
- addListener(EvaluationListener) - Method in class org.evrete.util.AbstractSessionWrapper
- append(Imports) - Method in class org.evrete.api.Imports
- apply(K) - Method in class org.evrete.util.MapFunction
- args() - Element in annotation interface org.evrete.dsl.annotation.MethodPredicate
-
Specifies which fact fields are to be passed to the method as its arguments.
- array(Class<T>, int) - Static method in class org.evrete.util.CollectionUtils
- asCollector() - Method in interface org.evrete.api.RuleSession
-
A convenience method that returns an instance of
Collectorfor inserting streams of facts. - asCollector() - Method in class org.evrete.util.AbstractSessionWrapper
- asJavaImportStatements(StringBuilder) - Method in class org.evrete.api.Imports
-
Appends Java import statements to a StringBuilder.
B
- binaryName() - Method in interface org.evrete.api.JavaSourceCompiler.ClassSource
- build() - Method in interface org.evrete.api.builders.RuleSetBuilder
-
Builds and appends previously created rules to the current context.
- build() - Method in class org.evrete.KnowledgeService.Builder
- BUILD - Enum constant in enum class org.evrete.dsl.Phase
-
This event is fired when a new
Knowledgeis created from Java sources, classes or archives. - builder() - Method in interface org.evrete.api.RuntimeContext
-
Returns an instance of
RuleSetBuilderfor building and appending rules to the current context. - builder() - Static method in class org.evrete.KnowledgeService
- builder() - Method in class org.evrete.util.AbstractSessionWrapper
- builder(Configuration) - Static method in class org.evrete.KnowledgeService
- buildExpression(String) - Method in interface org.evrete.api.RuntimeRule
-
Compiles a string expression and returns it as an
Evaluatorinstance. - buildExpression(LiteralExpression) - Method in interface org.evrete.api.ExpressionResolver
-
Deprecated.
- buildExpressions(Collection<LiteralExpression>) - Method in interface org.evrete.api.ExpressionResolver
-
Deprecated.in favor of
LiteralSourceCompiler - BY_NAME - Enum constant in enum class org.evrete.dsl.annotation.RuleSet.Sort
-
Sorts rules by name.
- BY_NAME_INVERSE - Enum constant in enum class org.evrete.dsl.annotation.RuleSet.Sort
-
Sorts rules by name in reverse order.
- bytes(JarFile, ZipEntry) - Static method in class org.evrete.util.IOUtils
C
- chainRhs(Consumer<RhsContext>) - Method in class org.evrete.AbstractRule
- chainRhs(Consumer<RhsContext>) - Method in interface org.evrete.api.Rule
-
Chains a consumer to the current RHS logic.
- characteristics() - Method in class org.evrete.util.SessionCollector
- clear() - Method in interface org.evrete.api.FactStorage
-
Clears all facts from the storage.
- clear() - Method in interface org.evrete.api.KeyedFactStorage
-
Clears the data stored in the memory.
- clear() - Method in interface org.evrete.api.MemoryKeyCollection
- clear() - Method in interface org.evrete.api.StatefulSession
-
This method clears session's working memory and its beta-memory nodes as if the session had never been used.
- close() - Method in interface org.evrete.api.StatefulSession
-
Closes the session and destroys its memory.
- CLOSE - Enum constant in enum class org.evrete.dsl.Phase
-
Fired right before the session's
StatefulSession.close()method is called. - CollectionUtils - Class in org.evrete.util
-
The
CollectionUtilsclass provides utility methods for working with collections. - CollectionUtils() - Constructor for class org.evrete.util.CollectionUtils
- combinations(Collection<T>) - Static method in class org.evrete.util.CollectionUtils
-
For argument like [[a1, a2, a3], [b1, b2], [c1, c2]] method returns collection of size L = a.size() * b.size() * c.size() = 12 where each entry is a combination of the three input sources: [a1, b1 ,c1], [a1, b1, c2], [a1, b2, c1] ....
- combiner() - Method in class org.evrete.util.SessionCollector
- commitChanges() - Method in interface org.evrete.api.KeyedFactStorage
-
Commits the changes made in the KeyedFactStorage.
- compare(Evaluator) - Method in interface org.evrete.api.Evaluator
- compareTo(OrderedServiceProvider) - Method in interface org.evrete.api.OrderedServiceProvider
- CompilationException - Exception in org.evrete.util
- CompilationException(List<String>, Map<JavaSourceCompiler.ClassSource, List<String>>) - Constructor for exception org.evrete.util.CompilationException
- compile(String) - Method in interface org.evrete.api.JavaSourceCompiler
- compile(Collection<LiteralExpression>) - Method in interface org.evrete.api.RuntimeContext
-
A convenience method for compiling literal expressions.
- compile(Collection<LiteralExpression>) - Method in class org.evrete.util.AbstractSessionWrapper
- compile(Collection<S>) - Method in interface org.evrete.api.JavaSourceCompiler
- compile(Set<String>) - Method in interface org.evrete.api.JavaSourceCompiler
-
This method tries to resolve every source's package and class names and calls the
JavaSourceCompiler.compile(Collection)afterwards - compile(LiteralExpression) - Method in interface org.evrete.api.RuntimeContext
- compile(RuntimeContext<?>, Collection<S>) - Method in interface org.evrete.api.spi.LiteralSourceCompiler
-
Compiles a collection of rule literal sources into a collection of compiled rule sources.
- compileRhs(RuntimeContext<?>, String, Collection<NamedType>) - Method in interface org.evrete.api.spi.LiteralRhsCompiler
-
Deprecated.
- compileRhs(RuntimeContext<?>, String, NamedType[]) - Method in interface org.evrete.api.spi.LiteralRhsCompiler
-
Deprecated.
- conditions() - Method in interface org.evrete.api.RuleCompiledSources
- conditions() - Method in interface org.evrete.api.RuleLiteralData
-
Returns literal conditions associated with this instance of `LiteralRuleSources`.
- Configuration - Class in org.evrete
-
Configuration class represents a configuration object that extends the Properties class and implements the
CopyableandFluentImportsinterfaces. - Configuration() - Constructor for class org.evrete.Configuration
- Configuration(Properties) - Constructor for class org.evrete.Configuration
- configureTypes(Consumer<TypeResolver>) - Method in interface org.evrete.api.RuntimeContext
-
Configures the
TypeResolverby applying the given action. - configureTypes(Consumer<TypeResolver>) - Method in class org.evrete.util.AbstractSessionWrapper
- Constants - Class in org.evrete.util
-
Contains constant values that are used throughout the project.
- Constants - Interface in org.evrete.dsl
-
Constants interface defines the constant values for different providers.
- Constants() - Constructor for class org.evrete.util.Constants
- CONTINUOUS - Enum constant in enum class org.evrete.api.ActivationMode
-
With this mode, the engine executes all the rules on the agenda and collects all the WMA (Working Memory Action) incurred by rules' actions.
- Copyable<T> - Interface in org.evrete.api
-
A generic alternative to Cloneable
- copyOf() - Method in interface org.evrete.api.Copyable
- copyOf() - Method in class org.evrete.api.Imports
- copyOf() - Method in class org.evrete.Configuration
- copyOf() - Method in class org.evrete.util.NextIntSupplier
- copyOf() - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- copyOf() - Method in class org.evrete.util.TypeWrapper
- copyOf(T[]) - Static method in class org.evrete.util.CollectionUtils
- create() - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.Finishes LHS declaration and returns the rule builder
- create(KnowledgeService, File...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
- create(KnowledgeService, InputStream...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
- create(KnowledgeService, InputStream...) - Method in class org.evrete.dsl.DSLClassProvider
- create(KnowledgeService, Reader...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
- create(KnowledgeService, Reader...) - Method in class org.evrete.dsl.DSLClassProvider
- create(KnowledgeService, Reader...) - Method in class org.evrete.dsl.DSLSourceProvider
- create(KnowledgeService, URL...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
-
Given the sources' URLs, the DSL implementation must return a new Knowledge instance.
- create(KnowledgeService, URL...) - Method in class org.evrete.dsl.DSLClassProvider
- create(KnowledgeService, TypeResolver, File...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
- create(KnowledgeService, TypeResolver, InputStream...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
- create(KnowledgeService, TypeResolver, InputStream...) - Method in class org.evrete.dsl.DSLClassProvider
- create(KnowledgeService, TypeResolver, InputStream...) - Method in class org.evrete.dsl.DSLJarProvider
- create(KnowledgeService, TypeResolver, InputStream...) - Method in class org.evrete.dsl.DSLSourceProvider
- create(KnowledgeService, TypeResolver, Reader...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
- create(KnowledgeService, TypeResolver, Reader...) - Method in class org.evrete.dsl.DSLClassProvider
- create(KnowledgeService, TypeResolver, URL...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
-
Given the sources' URLs, the DSL implementation must return a new Knowledge instance.
- create(KnowledgeService, TypeResolver, URL...) - Method in class org.evrete.dsl.DSLClassProvider
- CREATE - Enum constant in enum class org.evrete.dsl.Phase
-
Fired immediately after a new session is created off the given ruleset.
- createCondition(String) - Method in interface org.evrete.api.builders.RuleBuilder
-
Compiles and registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(String) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Compiles and registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(String, double) - Method in interface org.evrete.api.builders.RuleBuilder
-
Compiles and registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(String, double) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Compiles and registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, double, String...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, double, String...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, double, FieldReference...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, double, FieldReference...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, String...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, String...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, FieldReference...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(Predicate<Object[]>, FieldReference...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, double, String...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, double, String...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, double, FieldReference...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, double, FieldReference...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, String...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, String...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, FieldReference...) - Method in interface org.evrete.api.builders.RuleBuilder
-
Registers the provided predicate with the current context (a
Knowledgeor aRuleSession). - createCondition(ValuesPredicate, FieldReference...) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.Registers the provided predicate with the current context (a
Knowledgeor aRuleSession).
D
- declare(Class<T>) - Method in interface org.evrete.api.TypeResolver
-
Declares and registers new
Typewith the given Java class name. - declare(String, Class<T>) - Method in interface org.evrete.api.TypeResolver
-
Declares and registers new
Typewith the given type name and Java class - declare(String, Class<T>) - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- declare(String, String) - Method in interface org.evrete.api.TypeResolver
-
Declares and registers new
Typewith the given logical type name and Java class name. - declare(String, String) - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- declareBooleanField(String, Predicate<T>) - Method in interface org.evrete.api.Type
-
Method declares a primitive
booleanfield. - declareDoubleField(String, ToDoubleFunction<T>) - Method in interface org.evrete.api.Type
-
Method declares a primitive
doublefield. - declareField(String, Class<V>, Function<T, V>) - Method in interface org.evrete.api.Type
-
Field declaration with a
Functionas value reader. - declareField(String, Class<V>, Function<T, V>) - Method in class org.evrete.util.TypeWrapper
- declareIntField(String, ToIntFunction<T>) - Method in interface org.evrete.api.Type
-
Method declares a primitive
intfield. - declareLongField(String, ToLongFunction<T>) - Method in interface org.evrete.api.Type
-
Method declares a primitive
longfield. - DEFAULT - Enum constant in enum class org.evrete.api.ActivationMode
-
This mode employs an internal versioning mechanism that allows a rule's action block to see changes made by the preceding rules on the agenda.
- DEFAULT_COMPLEXITY - Static variable in interface org.evrete.api.WorkUnit
- DefaultActivationManager - Class in org.evrete.util
-
Default and dummy activation manager that does nothing.
- DefaultActivationManager() - Constructor for class org.evrete.util.DefaultActivationManager
- defaultLookup() - Method in class org.evrete.dsl.DSLSourceProvider
- defaultSort() - Element in annotation interface org.evrete.dsl.annotation.RuleSet
-
Defines how rules are sorted in the event of an absence or equality of the salience parameter.
- defineClass(String, byte[]) - Method in interface org.evrete.api.JavaSourceCompiler
-
Defines a class by loading its binary representation into the current runtime context's classloader.
- delegate - Variable in class org.evrete.util.AbstractSessionWrapper
- delete(Object) - Method in interface org.evrete.api.RhsContext
-
This method removes an instance from the working memory.
- delete(FactHandle) - Method in interface org.evrete.api.FactStorage
-
Deletes a fact from the storage, identified by the provided handle.
- delete(FactHandle) - Method in interface org.evrete.api.StatefulSession
-
Deletes a fact from working memory.
- DELETED_MEMORY_KEY_FLAG - Static variable in class org.evrete.util.Constants
- deleteFact(String) - Method in interface org.evrete.api.RhsContext
- descriptor() - Method in interface org.evrete.api.Evaluator
-
Describes fields and their ordering to be used during the evaluation
- descriptor() - Method in interface org.evrete.api.EvaluatorHandle
- DSLClassProvider - Class in org.evrete.dsl
-
The DSLClassProvider class provides the implementation of the DSLKnowledgeProvider interface for 'JAVA-CLASS' DSL knowledge.
- DSLClassProvider() - Constructor for class org.evrete.dsl.DSLClassProvider
-
Default public constructor
- DSLJarProvider - Class in org.evrete.dsl
-
The DSLClassProvider class provides the implementation of the DSLKnowledgeProvider interface for 'JAVA-JAR' DSL knowledge.
- DSLJarProvider() - Constructor for class org.evrete.dsl.DSLJarProvider
-
Default public constructor
- DSLKnowledgeProvider - Interface in org.evrete.api.spi
-
DSLKnowledgeProvider is an interface that provides methods to create Knowledge instances from various types of resources.
- DSLSourceProvider - Class in org.evrete.dsl
-
The DSLClassProvider class provides the implementation of the DSLKnowledgeProvider interface for 'JAVA-SOURCE' DSL knowledge.
- DSLSourceProvider() - Constructor for class org.evrete.dsl.DSLSourceProvider
-
Default public constructor
E
- emptyReIterator() - Static method in class org.evrete.util.CollectionUtils
- Environment - Interface in org.evrete.api
-
The Environment interface provides a way to store and retrieve property values.
- EnvironmentListener - Annotation Interface in org.evrete.dsl.annotation
-
Annotation for methods intended to listen to changes in the
Environment. - equals(Object) - Method in class org.evrete.util.TypeWrapper
- EvaluationListener - Interface in org.evrete.api
-
The
EvaluationListenerinterface should be implemented by classes that wish to receive notifications of evaluation results. - EvaluationListeners - Interface in org.evrete.api
-
Interface for managing
EvaluationListenerinstances. - Evaluator - Interface in org.evrete.api
-
An internal representation of every condition in the rule engine.
- EvaluatorHandle - Interface in org.evrete.api
-
Evaluator handles essentially act as references to LHS (Left Hand Side) conditions, much like how each fact in working memory is associated with a fact handle.
- EvaluatorsContext - Interface in org.evrete.api
-
A collection of every condition tha was ever used in the engine's runtime.
- execute() - Method in interface org.evrete.api.builders.LhsBuilder
-
Terminates current rule builder as a rule without action.
- execute() - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.Terminates the rule builder without RHS and adds the rule to the current context
- execute(String) - Method in interface org.evrete.api.builders.LhsBuilder
-
Terminates current rule builder with the provided RHS action
- execute(String) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- execute(Consumer<RhsContext>) - Method in interface org.evrete.api.builders.LhsBuilder
-
Terminates current rule builder with the provided RHS action
- execute(Consumer<RhsContext>) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.Terminates the rule builder with the provided RHS and adds the rule to the current context
- ExpressionResolver - Interface in org.evrete.api
-
An interface with a set of basic methods that are necessary for parsing string expressions.
- ExpressionResolverProvider - Interface in org.evrete.api.spi
-
A Service Provider Interface (SPI) for expression parsers.
F
- fact(String, Class<?>) - Static method in class org.evrete.api.FactBuilder
-
'import static' this method for brevity of fact declarations.
- fact(String, String) - Static method in class org.evrete.api.FactBuilder
-
'import static' this method for brevity of fact declarations.
- Fact - Annotation Interface in org.evrete.dsl.annotation
-
This annotation can be used to mark a parameter in a method with a fact value.
- FactBuilder - Class in org.evrete.api
-
A fact declaration for
RuleBuilder. - FactHandle - Interface in org.evrete.api
-
FactHandle instances uniquely identify working instances in rule sessions.
- FactHandleVersioned - Class in org.evrete.api
-
The
FactHandleVersionedclass represents a versionedFactHandle. - FactHandleVersioned(FactHandle, int) - Constructor for class org.evrete.api.FactHandleVersioned
- FactStorage<T> - Interface in org.evrete.api
-
Represents a storage system for facts, allowing for operations such as insertion, deletion, updating, and retrieval of facts.
- FactStorage.Entry<Z> - Interface in org.evrete.api
-
Represents an entry in the storage, holding both a fact handle and the fact instance.
- field() - Method in interface org.evrete.api.FieldReference
-
Retrieves the TypeField associated with this FieldReference.
- FieldDeclaration - Annotation Interface in org.evrete.dsl.annotation
-
Marks a method as a field declaration.
- FieldReference - Interface in org.evrete.api
-
Field references go along with rule conditions and are the key source of knowledge for building the Rete memory graph.
- FieldValue - Interface in org.evrete.api
-
A marker interface that uniquely identifies the value of a field.
- finisher() - Method in class org.evrete.util.SessionCollector
- fire() - Method in interface org.evrete.api.RuleSession
-
Fires the rule session and returns the associated object that depends on the implementation of the current session.
- fire() - Method in interface org.evrete.api.StatefulSession
-
Fire all rules.
- fire() - Method in interface org.evrete.api.StatelessSession
-
Fires the session and performs no memory scan.
- fire(Class<T>, Consumer<T>) - Method in interface org.evrete.api.StatelessSession
-
A convenience method to retrieve the resulting instances of a specific Java class.
- fire(Class<T>, Predicate<T>, Consumer<T>) - Method in interface org.evrete.api.StatelessSession
-
A convenience method to retrieve facts of a specific Java type and matching given predicate
- fire(String, Consumer<T>) - Method in interface org.evrete.api.StatelessSession
-
A convenience method to retrieve facts of a specific type name.
- fire(String, Predicate<T>, Consumer<T>) - Method in interface org.evrete.api.StatelessSession
-
A convenience method to retrieve facts of a specific type name and matching given predicate
- fire(BiConsumer<FactHandle, Object>) - Method in interface org.evrete.api.StatelessSession
-
Fires the session and calls the consumer for each memory object and its fact handle.
- fire(Consumer<Object>) - Method in interface org.evrete.api.StatelessSession
-
Fires the session and calls the consumer for each memory object.
- fire(Predicate<Object>, Consumer<Object>) - Method in interface org.evrete.api.StatelessSession
-
Fires the session and calls the consumer for each memory object that satisfies given filter
- fire(Evaluator, IntToValue, boolean) - Method in interface org.evrete.api.EvaluationListener
-
Invoked when an evaluation event occurs.
- FIRE - Enum constant in enum class org.evrete.dsl.Phase
-
Fired before any of the
StatefulSession.fire(),StatefulSession.fireAsync(Object), orStatefulSession.fireAsync()are called on a session instance. - fireAsync() - Method in interface org.evrete.api.StatefulSession
-
Same as
StatefulSession.fireAsync(Object), with the Future's get method will returning the session itself. - fireAsync(T) - Method in interface org.evrete.api.StatefulSession
-
Fires session asynchronously and returns a Future representing the session execution status.
- FluentEnvironment<X> - Interface in org.evrete.api
-
The
FluentEnvironmentinterface extends the functionality ofEnvironmentto support fluent API style configuration by allowing properties to be set in a chainable manner. - FluentImports<T> - Interface in org.evrete.api
-
Represents an entity capable of managing Java imports in a fluent manner.
- forEach(String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>, String, Class<?>) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String, String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String, String, String, String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Method in interface org.evrete.api.LhsFactSelector
- forEach(Collection<FactBuilder>) - Method in interface org.evrete.api.LhsFactSelector
-
The main method that declares LHS types.
- forEach(FactBuilder...) - Method in interface org.evrete.api.LhsFactSelector
- forEachFact(Class<T>, Consumer<T>) - Method in interface org.evrete.api.StatefulSession
-
A memory inspection method that accepts fact type as an argument.
- forEachFact(Class<T>, Predicate<T>, Consumer<T>) - Method in interface org.evrete.api.StatefulSession
-
A filtering version of the
StatefulSession.forEachFact(Class, Consumer)method. - forEachFact(String, Consumer<T>) - Method in interface org.evrete.api.StatefulSession
-
A memory inspection method that accepts fact type as an argument.
- forEachFact(String, Predicate<T>, Consumer<T>) - Method in interface org.evrete.api.StatefulSession
-
A filtering version of the
StatefulSession.forEachFact(String, Consumer)method. - forEachFact(BiConsumer<FactHandle, Object>) - Method in interface org.evrete.api.StatefulSession
-
A full-scan memory inspection method.
- forEachFact(BiPredicate<FactHandle, Object>, BiConsumer<FactHandle, Object>) - Method in interface org.evrete.api.StatefulSession
- forEachFact(Consumer<Object>) - Method in interface org.evrete.api.StatefulSession
- ForkJoinExecutor - Class in org.evrete.util
-
The
ForkJoinExecutorclass is a simple wrapper for theForkJoinPool - ForkJoinExecutor(int) - Constructor for class org.evrete.util.ForkJoinExecutor
G
- get() - Method in class org.evrete.api.Imports
- get() - Method in class org.evrete.util.NextIntSupplier
- get(int) - Method in interface org.evrete.api.IntToValue
-
Retrieves the value at the specified index with the expected return type.
- get(int) - Method in interface org.evrete.api.MemoryKey
-
Retrieves a ValueHandle associated with the specified field index.
- get(Class<T>, String) - Method in interface org.evrete.api.RhsContext
-
A typed version of the
get()method with explicit generic cast type. - get(String) - Method in class org.evrete.AbstractRule
- get(String) - Method in interface org.evrete.api.Environment
-
Retrieves the value of a property by its name.
- get(String) - Method in interface org.evrete.api.RhsContext
-
A typed version of the
getObject()method. - get(String) - Method in class org.evrete.util.AbstractSessionWrapper
- get(String, T) - Method in interface org.evrete.api.Environment
-
Retrieves the value of a property by its name.
- getActivationManager() - Method in interface org.evrete.api.RuleSession
-
Retrieves the activation manager associated with this session.
- getActivationManager() - Method in class org.evrete.util.AbstractSessionWrapper
- getActivationManagerFactory() - Method in interface org.evrete.api.RuntimeContext
-
Returns the Activation Manager factory class for this RuntimeContext.
- getActivationManagerFactory() - Method in class org.evrete.util.AbstractSessionWrapper
- getAsBoolean(String) - Method in class org.evrete.Configuration
- getAsBoolean(String, boolean) - Method in class org.evrete.Configuration
- getAsInteger(String, int) - Method in class org.evrete.Configuration
- getClassLoader() - Method in interface org.evrete.api.RuntimeContext
-
Retrieves the ClassLoader used by the current context.
- getClassLoader() - Method in class org.evrete.KnowledgeService
- getClassLoader() - Method in class org.evrete.util.AbstractSessionWrapper
- getCompiledClass() - Method in interface org.evrete.api.JavaSourceCompiler.Result
- getComplexity() - Method in interface org.evrete.api.WorkUnit
- getComplexity() - Method in class org.evrete.util.WorkUnitObject
- getConfiguration() - Method in interface org.evrete.api.RuntimeContext
-
Retrieves the Configuration object associated with this RuntimeContext.
- getConfiguration() - Method in class org.evrete.KnowledgeService
- getConfiguration() - Method in class org.evrete.util.AbstractSessionWrapper
- getContext() - Method in interface org.evrete.api.LiteralExpression
- getDeclaredFactTypes() - Method in interface org.evrete.api.NamedType.Resolver
- getDeclaredFields() - Method in interface org.evrete.api.Type
-
Method returns ALL known fields, both explicitly declared and resolved.
- getDeclaredFields() - Method in class org.evrete.util.TypeWrapper
- getDeclaringType() - Method in interface org.evrete.api.TypeField
-
Returns the type on which this TypeField is declared.
- getDelegate() - Method in class org.evrete.util.TypeWrapper
- getDelegate() - Method in class org.evrete.util.WorkUnitObject
- getDSL(Class<? extends DSLKnowledgeProvider>) - Method in class org.evrete.KnowledgeService
-
A convenience method to load specific DSL implementation;
- getDSL(String) - Method in class org.evrete.KnowledgeService
-
A convenience method to load specific DSL implementation;
- getErrorMessage(JavaSourceCompiler.ClassSource) - Method in exception org.evrete.util.CompilationException
- getErrorSources() - Method in exception org.evrete.util.CompilationException
- getEvaluator(EvaluatorHandle) - Method in interface org.evrete.api.EvaluatorsContext
-
Returns evaluator by its handle.
- getEvaluator(EvaluatorHandle) - Method in class org.evrete.util.AbstractSessionWrapper
- getExecutor() - Method in class org.evrete.KnowledgeService
- getExpressionResolver() - Method in interface org.evrete.api.RuntimeContext
-
Retrieves the expression resolver for parsing string expressions.
- getExpressionResolver() - Method in class org.evrete.util.AbstractSessionWrapper
- getExpressionResolverProvider() - Method in class org.evrete.KnowledgeService
- getFact(FactHandle) - Method in interface org.evrete.api.FactStorage
-
Retrieves the fact associated with the provided handle.
- getFact(FactHandle) - Method in interface org.evrete.api.StatefulSession
-
Returns fact by its handle.
- getField(String) - Method in interface org.evrete.api.Type
-
Returns a declared field with the given name.
- getField(String) - Method in class org.evrete.util.TypeWrapper
- getHandle() - Method in class org.evrete.api.FactHandleVersioned
- getHandle() - Method in interface org.evrete.api.FactStorage.Entry
-
Returns the FactHandle associated with this entry.
- getId() - Method in interface org.evrete.api.Type
-
Each type is assigned a unique auto-increment int identifier which developers can use in SPI implementations, for example in sharding/partitioning data collections.
- getId() - Method in class org.evrete.util.TypeWrapper
- getImports() - Method in interface org.evrete.api.FluentImports
-
Retrieves the current set of import statements.
- getImports() - Method in class org.evrete.Configuration
- getImports() - Method in class org.evrete.util.AbstractSessionWrapper
- getInstance() - Method in interface org.evrete.api.FactStorage.Entry
-
Returns the fact instance associated with this entry.
- getJavaImports() - Method in interface org.evrete.api.FluentImports
-
Deprecated.Use the
Imports.asJavaImportStatements(StringBuilder)method instead - getJavaType() - Method in interface org.evrete.api.Type
-
There can be only one Type with the given name, but there could be many types associated with a specific Java Class.
- getJavaType() - Method in class org.evrete.util.TypeWrapper
- getKnownTypes() - Method in interface org.evrete.api.TypeResolver
-
Returns a collection of all known types.
- getKnownTypes() - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- getLhs() - Method in interface org.evrete.api.builders.RuleBuilder
-
Returns the LhsBuilder instance.
- getLhs() - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.
- getLiteralRhs() - Method in class org.evrete.AbstractRule
- getLiteralSourceCompiler() - Method in class org.evrete.KnowledgeService
- getMemoryFactoryProvider() - Method in class org.evrete.KnowledgeService
- getMetaValue() - Method in interface org.evrete.api.MemoryKey
-
Retrieves the meta value associated with this MemoryKey.
- getName() - Method in class org.evrete.AbstractRule
- getName() - Method in class org.evrete.api.FactBuilder
-
The fact's variable name
- getName() - Method in interface org.evrete.api.Named
-
Returns the name of the object.
- getName() - Method in interface org.evrete.api.NamedType
-
Returns name of a fact declaration, for example "$customer"
- getName() - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
-
Returns the name of the DSL knowledge provider.
- getName() - Method in class org.evrete.dsl.DSLClassProvider
- getName() - Method in class org.evrete.dsl.DSLJarProvider
- getName() - Method in class org.evrete.dsl.DSLSourceProvider
- getName() - Method in class org.evrete.util.TypeWrapper
- getObject(String) - Method in interface org.evrete.api.RhsContext
-
Returns current fact by its name
- getOrDeclare(Class<T>) - Method in interface org.evrete.api.TypeResolver
- getOrDeclare(String) - Method in interface org.evrete.api.TypeResolver
- getOrDeclare(String, Class<T>) - Method in interface org.evrete.api.TypeResolver
- getOrDeclare(String, String) - Method in interface org.evrete.api.TypeResolver
- getParentContext() - Method in interface org.evrete.api.RuleSession
-
Retrieves the parent context of this session instance.
- getParentContext() - Method in class org.evrete.util.AbstractSessionWrapper
- getPropertyNames() - Method in class org.evrete.AbstractRule
- getPropertyNames() - Method in interface org.evrete.api.Environment
-
Retrieves a collection of all property names in the environment.
- getPropertyNames() - Method in class org.evrete.util.AbstractSessionWrapper
- getResolvedType() - Method in class org.evrete.api.FactBuilder
-
Returns fact's type as Java Class
- getRhs() - Method in class org.evrete.AbstractRule
- getRhs() - Method in interface org.evrete.api.Rule
-
Gets the RHS (Right Hand Side) logic as a Consumer.
- getRule() - Method in interface org.evrete.api.RhsContext
-
A convenience method that returns reference to the current rule and its environment.
- getRule() - Method in interface org.evrete.api.RuleLiteralData
-
Returns the rule associated with this instance of `LiteralRuleSources`.
- getRule(String) - Method in interface org.evrete.api.RuleSet
-
Retrieves a rule based on its name.
- getRule(String) - Method in class org.evrete.util.AbstractSessionWrapper
- getRule(Named) - Method in interface org.evrete.api.RuleSet
-
Retrieves a rule based on the name of the named object.
- getRuleComparator() - Method in interface org.evrete.api.RuntimeContext
-
Retrieves the comparator used for ordering rules.
- getRuleComparator() - Method in class org.evrete.util.AbstractSessionWrapper
- getRules() - Method in interface org.evrete.api.RuleSet
-
Method returns a list of rules created so far.
- getRules() - Method in class org.evrete.util.AbstractSessionWrapper
- getRuntime() - Method in interface org.evrete.api.builders.RuleBuilder
-
Returns the runtime context of this rule builder.
- getRuntime() - Method in interface org.evrete.api.RhsContext
-
Provides access to the runtime context, an equivalent to
getRule().getRuntime(). - getRuntime() - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.
- getRuntime() - Method in interface org.evrete.api.RuntimeRule
- getSalience() - Method in class org.evrete.AbstractRule
- getSalience() - Method in interface org.evrete.api.Rule
-
Retrieves the rule's salience.
- getService() - Method in interface org.evrete.api.RuntimeContext
-
Returns the
KnowledgeServiceinstance. - getService() - Method in class org.evrete.util.AbstractSessionWrapper
- getSessions() - Method in interface org.evrete.api.Knowledge
-
Retrieves a collection of active RuleSessions associated with the Knowledge.
- getSessions() - Method in class org.evrete.util.KnowledgeWrapper
- getSource() - Method in interface org.evrete.api.JavaSourceCompiler.ClassSource
- getSource() - Method in interface org.evrete.api.JavaSourceCompiler.Result
- getSource() - Method in interface org.evrete.api.LiteralEvaluator
- getSource() - Method in interface org.evrete.api.LiteralExpression
- getSourceCompiler() - Method in interface org.evrete.api.RuntimeContext
-
Creates and returns a new instance of
JavaSourceCompiler. - getSourceCompiler() - Method in class org.evrete.util.AbstractSessionWrapper
- getSources() - Method in interface org.evrete.api.RuleCompiledSources
-
Returns the sources for this compilation.
- getType() - Method in interface org.evrete.api.NamedType
-
Method returns engine's internal
Typeof a fact declaration - getType(int) - Method in interface org.evrete.api.TypeResolver
- getType(int) - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- getType(String) - Method in interface org.evrete.api.TypeResolver
- getType(String) - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- getTypeId() - Method in interface org.evrete.api.FactHandle
-
Returns the id of the
Typewhich inserted instance was initially associated with. - getTypeResolver() - Method in interface org.evrete.api.RuntimeContext
-
Retrieves the TypeResolver instance associated with this RuntimeContext.
- getTypeResolver() - Method in class org.evrete.util.AbstractSessionWrapper
- getTypeResolverProvider() - Method in class org.evrete.KnowledgeService
- getUnresolvedType() - Method in class org.evrete.api.FactBuilder
-
Returns fact's type as String
- getValue(FieldValue) - Method in interface org.evrete.api.ValueResolver
- getValueHandle(Class<?>, Object) - Method in interface org.evrete.api.ValueResolver
- getValueResolver() - Method in interface org.evrete.api.MemoryFactory
- getValueType() - Method in interface org.evrete.api.TypeField
-
Returns the value type of the TypeField.
- getVersion() - Method in class org.evrete.api.FactHandleVersioned
H
- handle(RuleSet<?>, Rule, RuntimeException) - Method in interface org.evrete.api.RuleBuilderExceptionHandler
-
Deprecated.
- hashCode() - Method in class org.evrete.util.TypeWrapper
- hasNext() - Method in class org.evrete.util.MappingReIterator
I
- IDENTITY_METHOD_EQUALS - Static variable in class org.evrete.Configuration
- IDENTITY_METHOD_IDENTITY - Static variable in class org.evrete.Configuration
- Imports - Class in org.evrete.api
-
Represents a class for managing Java imports.
- Imports() - Constructor for class org.evrete.api.Imports
- insert(Iterable<?>) - Method in interface org.evrete.api.RuleSession
-
Inserts a collection of facts.
- insert(Object) - Method in interface org.evrete.api.RhsContext
- insert(Object) - Method in interface org.evrete.api.RuleSession
-
Inserts a fact in working memory and returns a serializable fact handle.
- insert(Object[]) - Method in interface org.evrete.api.RhsContext
- insert(Object...) - Method in interface org.evrete.api.RuleSession
-
Inserts an array of facts.
- insert(Object, boolean) - Method in interface org.evrete.api.RhsContext
-
Buffers a new insert operation in rule's memory
- insert(Collection<?>) - Method in interface org.evrete.api.RhsContext
- insert(T) - Method in interface org.evrete.api.FactStorage
-
Creates and returns new FactHandle for each inserted fact.
- INSERT - Enum constant in enum class org.evrete.api.Action
-
The INSERT variable represents the action of inserting a fact.
- INSERT_BUFFER_SIZE - Static variable in class org.evrete.Configuration
- INSERT_BUFFER_SIZE_DEFAULT - Static variable in class org.evrete.Configuration
- insert0(Object, boolean) - Method in interface org.evrete.api.RuleSession
-
Inserts a fact in working memory and returns a serializable fact handle.
- insert0(Object, boolean) - Method in class org.evrete.util.AbstractSessionWrapper
- insert0(String, Object, boolean) - Method in interface org.evrete.api.RuleSession
-
Inserts a fact and explicitly specifies its
Typename. - insert0(String, Object, boolean) - Method in class org.evrete.util.AbstractSessionWrapper
- insertAndFire(Iterable<?>) - Method in interface org.evrete.api.StatefulSession
- insertAndFire(Iterable<Object>) - Method in interface org.evrete.api.StatelessSession
- insertAndFire(Object...) - Method in interface org.evrete.api.StatefulSession
- insertAndFire(Object...) - Method in interface org.evrete.api.StatelessSession
- insertAs(String, Iterable<?>) - Method in interface org.evrete.api.RuleSession
-
Inserts a collection of facts, marking them as being of a specific type.
- insertAs(String, Object) - Method in interface org.evrete.api.RuleSession
-
Inserts a fact and explicitly specifies its
Typename. - insertAs(String, Object...) - Method in interface org.evrete.api.RuleSession
-
Inserts a collection of facts, marking them as being of a specific type.
- instance(ClassLoader) - Method in interface org.evrete.api.spi.TypeResolverProvider
-
Provides an instance of TypeResolver using the specified ClassLoader.
- instance(RuntimeContext<?>) - Method in interface org.evrete.api.spi.ExpressionResolverProvider
-
Method returns a new or existing expression resolver.
- instance(RuntimeContext<?>) - Method in interface org.evrete.api.spi.MemoryFactoryProvider
- instance(RuntimeContext<?>) - Method in interface org.evrete.api.spi.TypeResolverProvider
-
Provides an instance of TypeResolver based on the provided RuntimeContext.
- IntObjectPredicate<Z> - Interface in org.evrete.api
-
Represents a boolean-valued function of one
int-valued and one object-valued argument. - IntToValue - Interface in org.evrete.api
-
Defines an interface for conveniently accessing objects by integer indices.
- invoke(CountedCompleter<Void>) - Method in class org.evrete.util.ForkJoinExecutor
-
Performs the given task, waiting for its completion.
- IOUtils - Class in org.evrete.util
-
Utility class for input/output operations.
- IOUtils() - Constructor for class org.evrete.util.IOUtils
- isDelta() - Method in enum class org.evrete.api.KeyMode
- iterator() - Method in interface org.evrete.api.ReIterable
- iterator(Function<? super T, Z>) - Method in interface org.evrete.api.ReIterable
J
- JavaSourceCompiler - Interface in org.evrete.api
-
A plain source Java compiler for current
RuntimeContext. - JavaSourceCompiler.ClassSource - Interface in org.evrete.api
-
The ClassSource interface represents a source code file that can be compiled by a Java compiler.
- JavaSourceCompiler.Result<S extends JavaSourceCompiler.ClassSource> - Interface in org.evrete.api
-
The Result interface represents the result of compiling a source code file using a Java compiler.
K
- KeyedFactStorage - Interface in org.evrete.api
-
This interface represents the engine's alpha and beta memories as referenced in the RETE algorithm.
- KeyMode - Enum Class in org.evrete.api
-
Enumeration representing the mode in which keys are retrieved from a memory.
- keys(KeyMode) - Method in interface org.evrete.api.KeyedFactStorage
-
Retrieves an iterator over the keys in the memory with the specified
KeyMode. - Knowledge - Interface in org.evrete.api
-
Knowledge is a preprocessed ruleset.
- KnowledgeService - Class in org.evrete
-
KnowledgeService is a root element of every Evrete-based application.
- KnowledgeService() - Constructor for class org.evrete.KnowledgeService
- KnowledgeService(Configuration) - Constructor for class org.evrete.KnowledgeService
- KnowledgeService.Builder - Class in org.evrete
-
The Builder class is responsible for constructing instances of the KnowledgeService class.
- KnowledgeWrapper - Class in org.evrete.util
-
KnowledgeWrapper is an abstract class that delegates the knowledge's methods to a provided delegate object.
- KnowledgeWrapper(Knowledge) - Constructor for class org.evrete.util.KnowledgeWrapper
L
- LhsBuilder<C extends RuntimeContext<C>> - Interface in org.evrete.api.builders
-
The LhsBuilder interface is used to build the left-hand side (LHS) of a rule.
- LhsBuilder<C extends RuntimeContext<C>> - Interface in org.evrete.api
-
Deprecated.Use the
LhsBuilderinstead - LhsFactSelector<T> - Interface in org.evrete.api
-
A convenience interface to use for LHS fact declarations.
- LiteralEvaluator - Interface in org.evrete.api
-
Represents a literal
Evaluatorwith its source code. - LiteralExpression - Interface in org.evrete.api
-
A convenience wrapper for literal expressions.
- LiteralRhsCompiler - Interface in org.evrete.api.spi
-
Deprecated.use
LiteralSourceCompilerinstead - LiteralSourceCompiler - Interface in org.evrete.api.spi
-
An interface that represents a Service Provider Interface (SPI) for compiling rule's literal sources.
- log(Logger, Level) - Method in exception org.evrete.util.CompilationException
M
- MapFunction<K,
V> - Class in org.evrete.util -
A class that implements a
Functioninterface using an internal map. - MapFunction() - Constructor for class org.evrete.util.MapFunction
- MappingReIterator<T,
Z> - Class in org.evrete.util -
The
MappingReIteratorclass implements theReIteratorinterface and provides a mapping functionality to anotherReIterator. - MappingReIterator(ReIterator<T>, Function<? super T, Z>) - Constructor for class org.evrete.util.MappingReIterator
- MemoryFactory - Interface in org.evrete.api
-
The MemoryFactory interface defines methods for creating different types of memories used in the engine.
- MemoryFactoryProvider - Interface in org.evrete.api.spi
-
A Java Service Provider Interface (SPI) designed for creating various types of memory components used within the engine.
- MemoryKey - Interface in org.evrete.api
-
This interface represents a multi-value key used for accessing values from memory.
- MemoryKeyCollection - Interface in org.evrete.api
-
This interface represents a mutable extension to the
ReIterableinterface, specifically for use with memory keys. - method() - Element in annotation interface org.evrete.dsl.annotation.MethodPredicate
-
Name of the method that will represent an LHS condition.
- MethodPredicate - Annotation Interface in org.evrete.dsl.annotation
-
The
MethodPredicateannotation is used to define a predicate method that represents a condition for a rule. - methods() - Element in annotation interface org.evrete.dsl.annotation.Where
-
Defines conditions expressed as method references.
N
- name() - Element in annotation interface org.evrete.dsl.annotation.FieldDeclaration
-
Identifies the name of the field being declared.
- Named - Interface in org.evrete.api
-
The Named interface represents an entity with a name.
- NamedType - Interface in org.evrete.api
-
A runtime representation of a fact declaration.
- NamedType.Resolver - Interface in org.evrete.api
-
The Resolver interface is used to resolve named types based on their declared name.
- namedTypes() - Method in interface org.evrete.api.EvaluatorHandle
-
Returns a Set of NamedType objects representing the types involved in the descriptor of this evaluator.
- NEW_NEW - Enum constant in enum class org.evrete.api.KeyMode
- newBetaStorage(int) - Method in interface org.evrete.api.MemoryFactory
-
Creates a new instance of
KeyedFactStorage(RETE alpha and beta memories) with the specified field count. - newFactStorage(Type<?>, Class<Z>, BiPredicate<Z, Z>) - Method in interface org.evrete.api.MemoryFactory
-
Creates a new instance of
FactStoragefor the specified type of facts, storage class, and identity function. - newKnowledge() - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, File...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, InputStream...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, Reader...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, Class<?>...) - Method in class org.evrete.KnowledgeService
-
This is a convenience method.
- newKnowledge(Class<? extends DSLKnowledgeProvider>, String...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, URL...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, File...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, InputStream...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, Reader...) - Method in class org.evrete.KnowledgeService
- newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, Class<?>...) - Method in class org.evrete.KnowledgeService
-
This is a convenience method.
- newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, URL...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, File...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, InputStream...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, Reader...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, Class<?>...) - Method in class org.evrete.KnowledgeService
-
This is a convenience method.
- newKnowledge(String, String...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, URL...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, TypeResolver, File...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, TypeResolver, InputStream...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, TypeResolver, Reader...) - Method in class org.evrete.KnowledgeService
- newKnowledge(String, TypeResolver, Class<?>...) - Method in class org.evrete.KnowledgeService
-
This is a convenience method.
- newKnowledge(String, TypeResolver, URL...) - Method in class org.evrete.KnowledgeService
- newKnowledge(TypeResolver) - Method in class org.evrete.KnowledgeService
- newMemoryKeyCollection() - Method in interface org.evrete.api.MemoryFactory
- newRule() - Method in interface org.evrete.api.builders.RuleSetBuilder
-
Creates a new unnamed rule.
- newRule() - Method in interface org.evrete.api.RuntimeContext
-
Deprecated.this method is deprecated in favor of a more efficient way of building rules, especially for large rule sets. See
RuntimeContext.builder()for details - newRule() - Method in class org.evrete.util.AbstractSessionWrapper
-
Deprecated.
- newRule(String) - Method in interface org.evrete.api.builders.RuleSetBuilder
-
Creates a new rule with the provided name.
- newRule(String) - Method in interface org.evrete.api.RuntimeContext
-
Deprecated.this method is deprecated in favor of a more efficient way of building rules, especially for large rule sets. See the new
RuntimeContext.builder()method for details - newRule(String) - Method in class org.evrete.util.AbstractSessionWrapper
-
Deprecated.
- newStatefulSession() - Method in interface org.evrete.api.Knowledge
- newStatefulSession() - Method in class org.evrete.KnowledgeService
-
This method is a shorthand for
newKnowledge().newStatefulSession()which returns an empty session instance. - newStatefulSession() - Method in class org.evrete.util.KnowledgeWrapper
- newStatefulSession(ActivationMode) - Method in interface org.evrete.api.Knowledge
-
Creates a new stateful session with the specified activation mode.
- newStatelessSession() - Method in interface org.evrete.api.Knowledge
- newStatelessSession() - Method in class org.evrete.KnowledgeService
-
This method is a shorthand for
newKnowledge().newStatelessSession()which returns an empty session instance. - newStatelessSession() - Method in class org.evrete.util.KnowledgeWrapper
- newStatelessSession(ActivationMode) - Method in interface org.evrete.api.Knowledge
-
Creates a new
StatelessSessionwith the specifiedActivationMode. - newTypeResolver() - Method in class org.evrete.KnowledgeService
- next() - Method in class org.evrete.util.MappingReIterator
- next() - Method in class org.evrete.util.NextIntSupplier
- NextIntSupplier - Class in org.evrete.util
-
Supplier of consecutive integer values.
- NextIntSupplier() - Constructor for class org.evrete.util.NextIntSupplier
- NonNull - Annotation Interface in org.evrete.api.annotations
-
A source-level annotation to declare that annotated elements can not be
null - NULL_SALIENCE - Static variable in class org.evrete.AbstractRule
- Nullable - Annotation Interface in org.evrete.api.annotations
-
A source-level annotation to declare that annotated elements can be
nullunder some circumstances
O
- OBJECT_COMPARE_METHOD - Static variable in class org.evrete.Configuration
- of(String, Rule) - Static method in interface org.evrete.api.LiteralExpression
- OLD_NEW - Enum constant in enum class org.evrete.api.KeyMode
- OLD_OLD - Enum constant in enum class org.evrete.api.KeyMode
- onActivation(RuntimeRule, long) - Method in interface org.evrete.api.ActivationManager
-
This method is called after rule activation.
- onAgenda(int, List<RuntimeRule>) - Method in interface org.evrete.api.ActivationManager
-
This method is called once for each memory change and before any rule activations.
- onEvent(SessionLifecycleListener.Event) - Method in interface org.evrete.api.SessionLifecycleListener
-
Invoked when a session lifecycle event occurs.
- or(Predicate<Z>) - Method in interface org.evrete.api.IntObjectPredicate
-
Combines this
IntObjectPredicatewith the specifiedPredicateto create a newIntObjectPredicate. - OrderedServiceProvider - Interface in org.evrete.api
-
The OrderedServiceProvider interface represents a service provider interface (SPI) that allows multiple implementations to be ordered based on their assigned sort order.
- org.evrete - package org.evrete
- org.evrete.api - package org.evrete.api
- org.evrete.api.annotations - package org.evrete.api.annotations
- org.evrete.api.builders - package org.evrete.api.builders
- org.evrete.api.spi - package org.evrete.api.spi
- org.evrete.core - module org.evrete.core
-
This module defines the core API of the Evrete Rule Engine.
- org.evrete.dsl - package org.evrete.dsl
- org.evrete.dsl.annotation - package org.evrete.dsl.annotation
- org.evrete.dsl.java - module org.evrete.dsl.java
-
This module provides implementations of Annotated Java Rules - an extension that allows turning Java classes, sources, or JAR archives into rules via simple annotations.
- org.evrete.util - package org.evrete.util
P
- permutation(List<E>) - Static method in class org.evrete.util.CollectionUtils
- Phase - Enum Class in org.evrete.dsl
-
An event variable that binds listener methods to a specific lifecycle event:
- PhaseListener - Annotation Interface in org.evrete.dsl.annotation
-
Annotation used to bind listener methods to specific lifecycle events.
- PRE_CLOSE - Enum constant in enum class org.evrete.api.SessionLifecycleListener.Event
-
Event indicating that a session is about to close.
- PRE_FIRE - Enum constant in enum class org.evrete.api.SessionLifecycleListener.Event
-
Event indicating that a session is about to fire.
- PredicateImplementation - Annotation Interface in org.evrete.dsl.annotation
-
A marker interface used to let the IDE know that the annotated method is referenced by one or more
MethodPredicateannotations and should not be flagged as unused. - property(String, Z) - Method in interface org.evrete.api.builders.RuleBuilder
-
Sets a property of the RuleBuilder instance.
- property(String, Z) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.
- PROVIDER_JAVA_CLASS - Static variable in interface org.evrete.dsl.Constants
-
Name of the Java Cass DSL provider
- PROVIDER_JAVA_JAR - Static variable in interface org.evrete.dsl.Constants
-
Name of the Java Jar DSL provider
- PROVIDER_JAVA_SOURCE - Static variable in interface org.evrete.dsl.Constants
-
Name of the Java Source DSL provider
- putNew(K, V) - Method in class org.evrete.util.MapFunction
R
- readValue(Object) - Method in interface org.evrete.api.TypeField
-
Reads the value of a field from the given subject object.
- ReIterable<T> - Interface in org.evrete.api
-
The ReIterable interface is essentially an
Iterablethat returns aReIteratorinstead of aIterator. - ReIterator<T> - Interface in org.evrete.api
-
The
ReIteratorinterface represents a reusableIterator. - RELATION_EQUALS - Static variable in interface org.evrete.api.Evaluator
-
The RELATION_EQUALS variable represents a constant value indicating equality relation.
- RELATION_INVERSE - Static variable in interface org.evrete.api.Evaluator
-
The RELATION_INVERSE variable represents a constant value indicating inverse relationship.
- RELATION_NONE - Static variable in interface org.evrete.api.Evaluator
-
Represents a constant value indicating no relation.
- remove() - Method in class org.evrete.util.MappingReIterator
- removeEventListener(SessionLifecycleListener) - Method in interface org.evrete.api.RuleSession
-
Removes a
SessionLifecycleListenerfrom the session. - removeEventListener(SessionLifecycleListener) - Method in class org.evrete.util.AbstractSessionWrapper
- removeListener(EvaluationListener) - Method in interface org.evrete.api.EvaluationListeners
-
Removes a previously added listener.
- removeListener(EvaluationListener) - Method in class org.evrete.util.AbstractSessionWrapper
- replaceEvaluator(EvaluatorHandle, Evaluator) - Method in interface org.evrete.api.EvaluatorsContext
-
Replaces existing condition with a new one.
- replaceEvaluator(EvaluatorHandle, Evaluator) - Method in class org.evrete.util.AbstractSessionWrapper
- replaceEvaluator(EvaluatorHandle, ValuesPredicate) - Method in interface org.evrete.api.EvaluatorsContext
-
Replaces existing condition with a new one.
- replaceEvaluator(EvaluatorHandle, ValuesPredicate) - Method in class org.evrete.util.AbstractSessionWrapper
- reset() - Method in interface org.evrete.api.ReIterator
-
Resets the iterator to its initial position.
- reset() - Method in class org.evrete.util.MappingReIterator
- resolve(Object) - Method in interface org.evrete.api.TypeResolver
- resolve(Object) - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- resolve(String) - Method in interface org.evrete.api.JavaSourceCompiler
-
Resolves plain String java class source into a
JavaSourceCompiler.ClassSourceinstance by deriving the class's binary name - resolve(String) - Method in interface org.evrete.api.NamedType.Resolver
-
Returns
NamedTypeby its declared variable name - resolve(String[]) - Method in interface org.evrete.api.RuntimeRule
- resolve(String, NamedType.Resolver) - Method in interface org.evrete.api.ExpressionResolver
-
This method takes a string as an argument and builds a
FieldReferenceif possible. - resolve(NamedType.Resolver, String...) - Method in interface org.evrete.api.ExpressionResolver
- resolveFieldReferences(String[], NamedType.Resolver) - Method in interface org.evrete.api.RuleSet
- resolveFieldReferences(String[], NamedType.Resolver) - Method in class org.evrete.util.AbstractSessionWrapper
- resolveJavaType() - Method in interface org.evrete.api.Type
- resolveJavaType() - Method in class org.evrete.util.TypeWrapper
- RETRACT - Enum constant in enum class org.evrete.api.Action
-
The RETRACT variable represents the action of retracting a fact.
- rhs - Variable in class org.evrete.AbstractRule
- rhs() - Method in interface org.evrete.api.RuleCompiledSources
-
This method returns the sources' compiled RHS.
- rhs() - Method in interface org.evrete.api.RuleLiteralData
-
Returns the right-hand side (RHS) expression associated with this instance of LiteralRuleSources.
- RhsContext - Interface in org.evrete.api
-
Rule activation context that provides access to the rule's variables and working memory methods.
- Rule - Interface in org.evrete.api
-
Base interface for each rule in the engine.
- Rule - Annotation Interface in org.evrete.dsl.annotation
-
Defines a method as a rule within a rule-based system.
- RULE_BASE_CLASS - Static variable in class org.evrete.Configuration
- RuleBuilder<C extends RuntimeContext<C>> - Interface in org.evrete.api.builders
-
The RuleBuilder interface represents a builder for creating rules.
- RuleBuilder<C extends RuntimeContext<C>> - Interface in org.evrete.api
-
Deprecated.in favor of
RuleBuilder - RuleBuilderExceptionHandler - Interface in org.evrete.api
-
Deprecated.this class has been deprecated since version 3.1.0 with bulk rule compilation
- RuleCompiledSources<S extends RuleLiteralData<R>,
R extends Rule> - Interface in org.evrete.api -
This class represents a compiled version of
RuleLiteralData - RuleDescriptor - Interface in org.evrete.api
-
Represents a rule that is associated with a
Knowledgeinstance. - ruleExists(String) - Method in interface org.evrete.api.RuleSet
-
Checks if a rule with the specified name exists in the rule set.
- RuleLiteralData<R extends Rule> - Interface in org.evrete.api
-
A wrapper for the literal components of a rule.
- RuleSession<S extends RuleSession<S>> - Interface in org.evrete.api
-
Base interface for both stateful and stateless sessions
- RuleSet<R extends Rule> - Interface in org.evrete.api
-
Interface describes a mutable collection of rules.
- RuleSet - Annotation Interface in org.evrete.dsl.annotation
-
Annotation used to mark a class as a ruleset.
- RuleSet.Sort - Enum Class in org.evrete.dsl.annotation
-
The
Sortenum represents different sorting modes for rule sets. - RuleSetBuilder<C extends RuntimeContext<C>> - Interface in org.evrete.api.builders
-
`RuleSetBuilder` is an interface intended for building and appending rules to the current runtime context.
- RuleSetContext<C extends RuntimeContext<C>,
R extends Rule> - Interface in org.evrete.api -
RuleSetContext is an interface that combines the functionality of
RuntimeContextandRuleSet. - RuntimeContext<C extends RuntimeContext<C>> - Interface in org.evrete.api
-
The RuntimeContext interface represents the context in which the rules are executed.
- RuntimeRule - Interface in org.evrete.api
-
The
RuntimeRuleis a representation of a rule that is already associated with aRuleSession.
S
- salience() - Element in annotation interface org.evrete.dsl.annotation.Rule
-
Determines the priority of the rule relative to others.
- salience(int) - Method in interface org.evrete.api.builders.RuleBuilder
-
Sets the salience of the rule.
- salience(int) - Method in interface org.evrete.api.RuleBuilder
-
Deprecated.
- SALIENCE_COMPARATOR - Static variable in interface org.evrete.api.RuntimeContext
- sameAs(FieldReference) - Method in interface org.evrete.api.FieldReference
-
Checks if the given FieldReference is the same as the current FieldReference.
- sameAs(FieldReference[], FieldReference[]) - Static method in interface org.evrete.api.FieldReference
- sameAs(NamedType) - Method in interface org.evrete.api.NamedType
- sameDescriptor(Evaluator) - Method in interface org.evrete.api.Evaluator
-
Checks if the descriptor of this evaluator is the same as the descriptor of another evaluator.
- self() - Method in class org.evrete.util.AbstractSessionWrapper
- SessionCollector<T,
S extends RuleSession<S>> - Class in org.evrete.util -
A class that collects/inserts elements into a
RuleSessioninstance. - SessionCollector(S) - Constructor for class org.evrete.util.SessionCollector
- SessionLifecycleListener - Interface in org.evrete.api
-
An interface that defines the methods to be implemented by classes that wish to listen for session lifecycle events.
- SessionLifecycleListener.Event - Enum Class in org.evrete.api
-
Enumeration of the different events that can trigger the callback.
- set(int) - Method in class org.evrete.util.NextIntSupplier
- set(String, Object) - Method in class org.evrete.AbstractRule
- set(String, Object) - Method in interface org.evrete.api.Environment
-
Sets a property in the environment with the specified name and value.
- set(String, Object) - Method in interface org.evrete.api.FluentEnvironment
-
Sets the specified property to the given value.
- set(String, Object) - Method in class org.evrete.util.AbstractSessionWrapper
- setActivationManager(ActivationManager) - Method in interface org.evrete.api.RuleSession
-
Sets the activation manager for the session.
- setActivationManager(ActivationManager) - Method in class org.evrete.util.AbstractSessionWrapper
- setActivationManagerFactory(Class<A>) - Method in interface org.evrete.api.RuntimeContext
-
Sets the Activation Manager factory class for this RuntimeContext.
- setActivationManagerFactory(Class<A>) - Method in class org.evrete.util.AbstractSessionWrapper
- setActivationManagerFactory(String) - Method in interface org.evrete.api.RuntimeContext
-
Sets the Activation Manager factory class name for this RuntimeContext.
- setActivationManagerFactory(String) - Method in class org.evrete.util.AbstractSessionWrapper
- setActivationMode(ActivationMode) - Method in interface org.evrete.api.RuntimeContext
-
Sets the activation mode for the session.
- setActivationMode(ActivationMode) - Method in class org.evrete.util.AbstractSessionWrapper
- setClassLoader(ClassLoader) - Method in interface org.evrete.api.RuntimeContext
-
Sets new parent classloader for this context's internal classloader.
- setClassLoader(ClassLoader) - Method in class org.evrete.KnowledgeService
- setClassLoader(ClassLoader) - Method in class org.evrete.util.AbstractSessionWrapper
- setExecutionPredicate(BooleanSupplier) - Method in interface org.evrete.api.RuleSession
-
Session call's the supplier's
BooleanSupplier.getAsBoolean()method prior to each activation cycle. - setExecutionPredicate(BooleanSupplier) - Method in class org.evrete.util.AbstractSessionWrapper
- setMetaValue(int) - Method in interface org.evrete.api.MemoryKey
-
Sets the meta value associated with this MemoryKey.
- setName(String) - Method in class org.evrete.AbstractRule
- setName(String) - Method in interface org.evrete.api.Rule
-
Sets a new name for the rule.
- setProperty(String, String) - Method in class org.evrete.Configuration
- setRhs(String) - Method in class org.evrete.AbstractRule
- setRhs(String) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- setRhs(String) - Method in interface org.evrete.api.Rule
-
Sets the RHS logic using a literal string.
- setRhs(Consumer<RhsContext>) - Method in class org.evrete.AbstractRule
- setRhs(Consumer<RhsContext>) - Method in interface org.evrete.api.Rule
-
Sets the RHS logic using a Consumer.
- setRuleBuilderExceptionHandler(RuleBuilderExceptionHandler) - Method in interface org.evrete.api.RuleSet
-
Deprecated.Since version 3.1.0, for performance reasons, rules are no longer compiled one by one. As such, the use of this exception handler has become obsolete. Please join our discussions on GitHub to propose a new approach.
- setRuleComparator(Comparator<Rule>) - Method in interface org.evrete.api.RuntimeContext
-
Sets the comparator used for ordering rules.
- setRuleComparator(Comparator<Rule>) - Method in class org.evrete.util.AbstractSessionWrapper
- setSalience(int) - Method in class org.evrete.AbstractRule
- setSalience(int) - Method in interface org.evrete.api.Rule
-
Sets the rule's salience.
- shutdown() - Method in class org.evrete.KnowledgeService
-
Shuts down the service and releases its internal resources.
- shutdown() - Method in class org.evrete.util.ForkJoinExecutor
- sortOrder() - Method in interface org.evrete.api.OrderedServiceProvider
-
When several implementations are found, and no specific implementation class is given, the engine will automatically pick the one with the least sorting order.
- SPI_LHS_STRIP_WHITESPACES - Static variable in class org.evrete.Configuration
- StatefulSession - Interface in org.evrete.api
-
The StatefulSession interface represents a stateful rule session.
- StatelessSession - Interface in org.evrete.api
-
Unlike stateful sessions, stateless sessions are designed to be short-living instances that can be fired only once, returning the resulting working memory snapshot.
- submit(Runnable, T) - Method in class org.evrete.util.ForkJoinExecutor
- supplier() - Method in class org.evrete.util.SessionCollector
- systemFill(boolean[], boolean) - Static method in class org.evrete.util.CollectionUtils
- systemFill(int[], int) - Static method in class org.evrete.util.CollectionUtils
- systemFill(T[], T) - Static method in class org.evrete.util.CollectionUtils
T
- test(int, Z) - Method in interface org.evrete.api.IntObjectPredicate
-
Evaluates a boolean-valued function on an integer and an object.
- test(IntToValue) - Method in interface org.evrete.api.ValuesPredicate
- test(RuntimeRule) - Method in interface org.evrete.api.ActivationManager
- toArray(IntToValue) - Method in interface org.evrete.api.Evaluator
-
A convenience method to convert evaluator's arguments to object array.
- toByteArray(InputStream) - Static method in class org.evrete.util.IOUtils
- toString() - Method in class org.evrete.api.FactHandleVersioned
- toString() - Method in class org.evrete.api.Imports
- toString() - Method in class org.evrete.util.MappingReIterator
- type() - Method in interface org.evrete.api.FieldReference
-
Returns the named type associated with this method.
- type() - Element in annotation interface org.evrete.dsl.annotation.Fact
-
Because the engine allows the same Java classes to have different logical types, this parameter enables the explicit identification of the fact's logical type.
- type() - Element in annotation interface org.evrete.dsl.annotation.FieldDeclaration
-
Optional logical type on which this field is declared.
- Type<T> - Interface in org.evrete.api
-
Represents an engine's internal logical type, which is assigned to every fact before it is inserted into the session's working memory.
- TypeField - Interface in org.evrete.api
-
A representation of a Type field.
- TypeResolver - Interface in org.evrete.api
-
TypeResolver provides dynamic mapping of Java types to engine's internal
Type. - TypeResolverProvider - Interface in org.evrete.api.spi
-
The TypeResolverProvider interface represents a service provider interface (SPI) for providing instances of TypeResolver.
- TypeResolverWrapper - Class in org.evrete.util
-
Deprecated.This class is deprecated and will be removed in future releases. Use the
RuntimeContext.configureTypes(Consumer)method instead to configure the context's types and their fields. - TypeResolverWrapper(TypeResolver) - Constructor for class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- TypeWrapper<T> - Class in org.evrete.util
-
A wrapper class that implements the
Typeinterface and delegates the calls to another Type implementation. - TypeWrapper(Type<T>) - Constructor for class org.evrete.util.TypeWrapper
U
- Unstable - Annotation Interface in org.evrete.api.annotations
-
Indicates that the API of the annotated method or type is subject to change in future versions.
- update(Object) - Method in interface org.evrete.api.RhsContext
-
This method lets the working memory know that one of its objects has changed.
- update(FactHandle, Object) - Method in interface org.evrete.api.StatefulSession
-
Updates a fact that already exists in the working memory
- update(FactHandle, T) - Method in interface org.evrete.api.FactStorage
-
Updates an existing fact in the storage with a new instance, identified by the provided handle.
- UPDATE - Enum constant in enum class org.evrete.api.Action
-
Represents the action of updating a fact in a rule session.
- updateFact(String) - Method in interface org.evrete.api.RhsContext
V
- value() - Element in annotation interface org.evrete.dsl.annotation.EnvironmentListener
-
Specifies the key from
Environmentto be used as the method argument. - value() - Element in annotation interface org.evrete.dsl.annotation.Fact
-
The fact variable, e.g '$customer'
- value() - Element in annotation interface org.evrete.dsl.annotation.PhaseListener
-
Defines phase events that will trigger the annotated method.
- value() - Element in annotation interface org.evrete.dsl.annotation.Rule
-
Optional identifier or name for the rule.
- value() - Element in annotation interface org.evrete.dsl.annotation.RuleSet
-
Provides optional name for the ruleset
- value() - Element in annotation interface org.evrete.dsl.annotation.Where
-
This annotation value defines an array of literal conditions such as `["$c.type == $cat.id", "$c.rating > 30.0"]`.
- valueOf(String) - Static method in enum class org.evrete.api.Action
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.evrete.api.ActivationMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.evrete.api.KeyMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.evrete.api.SessionLifecycleListener.Event
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.evrete.dsl.annotation.RuleSet.Sort
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.evrete.dsl.Phase
-
Returns the enum constant of this class with the specified name.
- ValueResolver - Interface in org.evrete.api
-
This interface defines methods for resolving field values and retrieving them.
- values() - Static method in enum class org.evrete.api.Action
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.evrete.api.ActivationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.evrete.api.KeyMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.evrete.api.SessionLifecycleListener.Event
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.evrete.dsl.annotation.RuleSet.Sort
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.evrete.dsl.Phase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(KeyMode, MemoryKey) - Method in interface org.evrete.api.KeyedFactStorage
- ValuesPredicate - Interface in org.evrete.api
-
A wrapper for predicate over
IntToValue.
W
- WARN_UNKNOWN_TYPES - Static variable in class org.evrete.Configuration
- where(String...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds one or more condition expressions to the current
LhsBuilder. - where(String...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(String, double) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition expression to the current LhsBuilder.
- where(String, double) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(Predicate<Object[]>, double, String...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, complexity, and references. - where(Predicate<Object[]>, double, String...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(Predicate<Object[]>, double, FieldReference...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, complexity, and field references. - where(Predicate<Object[]>, double, FieldReference...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(Predicate<Object[]>, String...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, default complexity, and references. - where(Predicate<Object[]>, String...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(Predicate<Object[]>, FieldReference...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, complexity, and field references. - where(Predicate<Object[]>, FieldReference...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(EvaluatorHandle...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds one or more condition expressions to the current
LhsBuilder. - where(EvaluatorHandle...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(ValuesPredicate, double, String...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, complexity, and field references. - where(ValuesPredicate, double, String...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(ValuesPredicate, double, FieldReference...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, complexity, and field references. - where(ValuesPredicate, double, FieldReference...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(ValuesPredicate, String...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate and field references. - where(ValuesPredicate, String...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- where(ValuesPredicate, FieldReference...) - Method in interface org.evrete.api.builders.LhsBuilder
-
Adds a condition to the current
LhsBuilderwith the provided predicate, complexity, and field references. - where(ValuesPredicate, FieldReference...) - Method in interface org.evrete.api.LhsBuilder
-
Deprecated.
- Where - Annotation Interface in org.evrete.dsl.annotation
-
This annotation can be used to define conditions for a rule method.
- withExpressionResolverProvider(Class<? extends ExpressionResolverProvider>) - Method in class org.evrete.KnowledgeService.Builder
- withLiteralSourceCompiler(Class<? extends LiteralSourceCompiler>) - Method in class org.evrete.KnowledgeService.Builder
- withMemoryFactoryProvider(Class<? extends MemoryFactoryProvider>) - Method in class org.evrete.KnowledgeService.Builder
- withTypeResolverProvider(Class<? extends TypeResolverProvider>) - Method in class org.evrete.KnowledgeService.Builder
- WorkUnit - Interface in org.evrete.api
-
A unit of work with given complexity.
- WorkUnitObject<T> - Class in org.evrete.util
-
This utility class associates an arbitrary object with a level of complexity
- WorkUnitObject(T, double) - Constructor for class org.evrete.util.WorkUnitObject
- wrapType(TypeWrapper<?>) - Method in interface org.evrete.api.TypeResolver
-
Wraps a given TypeWrapper instance and delegates the calls to another Type implementation.
- wrapType(TypeWrapper<?>) - Method in class org.evrete.util.TypeResolverWrapper
-
Deprecated.
- wrapTypeResolver(TypeResolverWrapper) - Method in interface org.evrete.api.RuntimeContext
-
Deprecated.This class is deprecated and will be removed in future releases. Use the
RuntimeContext.configureTypes(Consumer)method instead to configure the context's types and their fields. - wrapTypeResolver(TypeResolverWrapper) - Method in class org.evrete.util.AbstractSessionWrapper
-
Deprecated.
- write(Collection<FactHandleVersioned>) - Method in interface org.evrete.api.KeyedFactStorage
-
This method will be called after the necessary number of keys are provided via
KeyedFactStorage.write(FieldValue). - write(FieldValue) - Method in interface org.evrete.api.KeyedFactStorage
-
This method is similar to the
JarOutputStream.putNextEntry(ZipEntry).
Z
- ZERO_ARRAY - Static variable in interface org.evrete.api.FieldReference
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
LiteralSourceCompiler