Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractEnvironment - Class in org.evrete.util
 
AbstractEnvironment(Configuration) - Constructor for class org.evrete.util.AbstractEnvironment
 
AbstractEnvironment(AbstractEnvironment) - Constructor for class org.evrete.util.AbstractEnvironment
 
AbstractIndex - Class in org.evrete.util
 
AbstractIndex(int, int) - Constructor for class org.evrete.util.AbstractIndex
 
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
 
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(Events.Subscription) - Method in class org.evrete.api.events.Events.Subscriptions
Adds a Subscription to this utility.
addCondition(String) - Method in interface org.evrete.api.builders.ConditionManager
Compiles and adds the provided literal predicate to the current RuleBuilder as a new condition.
addCondition(String, double) - Method in interface org.evrete.api.builders.ConditionManager
Compiles and adds the provided literal predicate to the current RuleBuilder as a new condition.
addCondition(Predicate<Object[]>, double, String...) - Method in interface org.evrete.api.builders.ConditionManager
Adds the provided predicate to the current RuleBuilder as a new condition.
addCondition(Predicate<Object[]>, String...) - Method in interface org.evrete.api.builders.ConditionManager
Adds the provided predicate to the current RuleBuilder as a new condition.
addCondition(ValuesPredicate, double, String...) - Method in interface org.evrete.api.builders.ConditionManager
Adds the provided predicate to the current RuleBuilder as a new condition.
addCondition(ValuesPredicate, String...) - Method in interface org.evrete.api.builders.ConditionManager
Adds the provided predicate to the current RuleBuilder as a new condition.
addEventListener(SessionLifecycleListener) - Method in interface org.evrete.api.RuleSession
Deprecated.
since 4.0.0. The library has moved from an Observer to a PubSub pattern. See the EventBus.subscribe(Class, boolean, Consumer) method for alternatives to adding listeners.
addFact(String, Class<?>) - Method in interface org.evrete.api.builders.LhsBuilder
A shorthand and fluent version of the LhsBuilder.addFactDeclaration(String, Class) method.
addFact(String, String) - Method in interface org.evrete.api.builders.LhsBuilder
A shorthand and fluent version of the LhsBuilder.addFactDeclaration(String, String) method.
addFact(String, Type<?>) - Method in interface org.evrete.api.builders.LhsBuilder
A shorthand and fluent version of the LhsBuilder.addFactDeclaration(String, Type) method.
addFactDeclaration(String, Class<?>) - 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.builders.LhsBuilder
Adds a fact declaration to the current LhsBuilder.
addFactDeclaration(String, Type<?>) - Method in interface org.evrete.api.builders.LhsBuilder
Adds a fact declaration to the current LhsBuilder.
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
 
addType(Type<?>) - Method in interface org.evrete.api.TypeResolver
Adds a new type to the type resolver and overrides any previous association between the type's logical name and the type itself.
advanceIterator(int) - Method in class org.evrete.util.CombinationIterator
 
append(Imports) - Method in class org.evrete.api.Imports
 
appendTo(RuntimeContext<C>, Object) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Appends the provided rule source to the specified RuleSetBuilder instance.
appendTo(RuntimeContext<C>, Object) - Method in class org.evrete.dsl.DSLSourceProvider
 
apply(K) - Method in class org.evrete.util.MapFunction
 
applyOnMatch(String, Consumer<T>) - Method in interface org.evrete.api.events.EnvironmentChangeEvent
Applies a given action if the specified property name matches and the property value is assignable to the given type.
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.CommonUtils
 
Array(List<LhsField<Fact, Field>>) - Constructor for class org.evrete.api.LhsField.Array
 
Array(LhsField<Fact, Field>[]) - Constructor for class org.evrete.api.LhsField.Array
 
asCollector() - Method in interface org.evrete.api.RuleSession
A convenience method that returns an instance of Collector for 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.
assignId(long, V) - Method in interface org.evrete.api.spi.ValueIndexer
Assigns the given value to the specified identifier.
async() - Element in annotation interface org.evrete.dsl.annotation.EventSubscription
Indicates whether the subscription should be asynchronous.
awaitTermination(long, TimeUnit) - Method in class org.evrete.util.DelegatingExecutorService
 

B

BaseRuleClass - Class in org.evrete.util
Base class for all generated Java sources.
BaseRuleClass() - Constructor for class org.evrete.util.BaseRuleClass
 
binaryName() - Method in interface org.evrete.api.spi.SourceCompiler.ClassSource
 
broadcast(E) - Method in class org.evrete.util.BroadcastingPublisher
 
BroadcastingPublisher<E extends Events.Event> - Class in org.evrete.util
An implementation of the Events.Publisher interface that can broadcast events.
BroadcastingPublisher(Executor) - Constructor for class org.evrete.util.BroadcastingPublisher
 
BroadcastingPublisher(BroadcastingPublisher<E>) - Constructor for class org.evrete.util.BroadcastingPublisher
 
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
Constructs a new instance of the KnowledgeService with the current configuration of the builder.
builder() - Method in interface org.evrete.api.RuntimeContext
Returns an instance of RuleSetBuilder for building and appending rules to the current context.
builder() - Static method in class org.evrete.KnowledgeService
 
builder(ClassLoader) - Method in interface org.evrete.api.RuntimeContext
Returns an instance of RuleSetBuilder for building and appending rules to the current context.
builder(ClassLoader) - Method in class org.evrete.util.AbstractSessionWrapper
 
builder(Configuration) - Static method in class org.evrete.KnowledgeService
 
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.CommonUtils
 

C

cancel() - Method in interface org.evrete.api.events.Events.Subscription
Cancel the subscription, indicating that no more items are required.
cancel() - Method in class org.evrete.api.events.Events.Subscriptions
Cancels all added subscriptions and removes them from the collection.
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.spi.DeltaInsertMemory
Clears all elements from both delta and main storage.
clear() - Method in interface org.evrete.api.spi.FactStorage
Clears the memory
clear() - Method in interface org.evrete.api.spi.ValueIndexer
Clears the internally stored mapping.
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.
clear() - Method in class org.evrete.util.FactStorageWrapper
 
clear() - Method in class org.evrete.util.GroupingReteMemoryWrapper
 
close() - Method in interface org.evrete.api.StatefulSession
Closes the session and destroys its memory.
CombinationIterator<T> - Class in org.evrete.util
An iterator that generates all possible combinations of elements from source objects.
CombinationIterator(Class<T>, S[], Function<S, Iterator<T>>) - Constructor for class org.evrete.util.CombinationIterator
Class constructor
CombinationIterator(S[], T[], Function<S, Iterator<T>>) - Constructor for class org.evrete.util.CombinationIterator
Class constructor with shared result array that will be updated on each CombinationIterator.next() operation
CombinationIterator(T[], IntFunction<Iterator<T>>) - Constructor for class org.evrete.util.CombinationIterator
Class constructor with shared result array that will be updated on each CombinationIterator.next() operation
combiner() - Method in class org.evrete.util.SessionCollector
 
commit() - Method in interface org.evrete.api.spi.DeltaInsertMemory
Converts the accumulated delta changes into main (permanent) storage.
commit() - Method in class org.evrete.util.GroupingReteMemoryWrapper
 
commit(ExecutorService) - Method in interface org.evrete.api.spi.DeltaInsertMemory
 
CommonUtils - Class in org.evrete.util
 
CommonUtils() - Constructor for class org.evrete.util.CommonUtils
 
compareTo(OrderedServiceProvider) - Method in interface org.evrete.api.OrderedServiceProvider
 
CompilationException - Exception in org.evrete.util
 
CompilationException(List<String>, Map<SourceCompiler.ClassSource, List<String>>) - Constructor for exception org.evrete.util.CompilationException
 
compile(Collection<S>) - Method in interface org.evrete.api.spi.SourceCompiler
 
CompiledPredicate<C extends LiteralPredicate> - Interface in org.evrete.api
Represents a compiled ValuesPredicate along with its source code and resolved fields.
completeAll(Collection<CompletableFuture<T>>) - Static method in class org.evrete.util.CommonUtils
 
completeAll(Collection<T>, Function<T, CompletableFuture<F>>) - Static method in class org.evrete.util.CommonUtils
 
completeAll(T[], Function<T, CompletableFuture<F>>) - Static method in class org.evrete.util.CommonUtils
 
completeAndCollect(Collection<T>, Function<T, CompletableFuture<V>>) - Static method in class org.evrete.util.CommonUtils
 
completeAndCollect(List<CompletableFuture<V>>) - Static method in class org.evrete.util.CommonUtils
 
CompletionManager<K,T> - Class in org.evrete.util
Manages CompletableFuture instances associated with given keys.
CompletionManager() - Constructor for class org.evrete.util.CompletionManager
 
ConditionEvaluationEvent - Interface in org.evrete.api.events
Represents an event that occurs when a condition is evaluated.
ConditionManager - Interface in org.evrete.api.builders
Previously part of the RuleBuilder interface, since version 4.0.0, this interface contains methods for declaring various rule-level conditions and obtaining their references.
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 Copyable and FluentImports interfaces.
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 TypeResolver by 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
 
ContextEvent - Interface in org.evrete.api.events
A marker interface for all RuntimeContext events.
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.TypeWrapper
 
create(KnowledgeService, File...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, InputStream...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, Reader...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, URL...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, TypeResolver, File...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, TypeResolver, InputStream...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, TypeResolver, Reader...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.
create(KnowledgeService, TypeResolver, URL...) - Method in interface org.evrete.api.spi.DSLKnowledgeProvider
Deprecated.

D

DAEMON_INNER_THREADS - Static variable in class org.evrete.Configuration
 
DAEMON_INNER_THREADS_DEFAULT - Static variable in class org.evrete.Configuration
 
declare(Class<T>) - Method in interface org.evrete.api.TypeResolver
Declares and registers new Type with the given Java class name.
declare(String, Class<T>) - Method in interface org.evrete.api.TypeResolver
Declares and registers new Type with the given type name and Java class
declare(String, String) - Method in interface org.evrete.api.TypeResolver
Declares and registers new Type with the given logical type name and Java class name.
declareBooleanField(String, Predicate<T>) - Method in interface org.evrete.api.Type
Method declares a primitive boolean field.
declareDoubleField(String, ToDoubleFunction<T>) - Method in interface org.evrete.api.Type
Method declares a primitive double field.
declareField(String, Class<V>, Function<T, V>) - Method in interface org.evrete.api.Type
Field declaration with a Function as 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 int field.
declareLongField(String, ToLongFunction<T>) - Method in interface org.evrete.api.Type
Method declares a primitive long field.
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
 
DEFAULT_SALIENCE - Static variable in annotation interface org.evrete.dsl.annotation.Rule
 
DefaultActivationManager - Class in org.evrete.util
Default and dummy activation manager that does nothing.
DefaultActivationManager() - Constructor for class org.evrete.util.DefaultActivationManager
 
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.
delegate - Variable in class org.evrete.util.AbstractSessionWrapper
 
DelegatingExecutorService - Class in org.evrete.util
A wrapper for an ExecutorService that supports an externally supplied or internally created instance.
DelegatingExecutorService(int, boolean) - Constructor for class org.evrete.util.DelegatingExecutorService
Constructs a DelegatingExecutorService with internal ExecutorService.
DelegatingExecutorService(ExecutorService) - Constructor for class org.evrete.util.DelegatingExecutorService
Constructs a DelegatingExecutorService with the specified ExecutorService.
delete(long) - Method in interface org.evrete.api.spi.ValueIndexer
Deletes the value associated with the given unique identifier.
delete(long, V) - Method in interface org.evrete.api.spi.GroupingReteMemory
Deletes the given key and value from both delta and main memories.
delete(long, V) - Method in class org.evrete.util.GroupingReteMemoryWrapper
 
delete(Object) - Method in interface org.evrete.api.RhsContext
Removes an instance from the working memory.
delete(FactHandle) - Method in interface org.evrete.api.SessionOps
Deletes a fact from the working memory.
delete(FactHandle) - Method in class org.evrete.util.AbstractSessionWrapper
 
deleteFact(String) - Method in interface org.evrete.api.RhsContext
Deletes a fact from the working memory by its reference name.
DELTA - Enum constant in enum class org.evrete.api.spi.MemoryScope
Identifies delta memory
DeltaInsertMemory - Interface in org.evrete.api.spi
General interface for two-stage memory instances where insert operations are buffered in an internal delta storage and then committed to the main storage by invoking the DeltaInsertMemory.commit() method.
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
 
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
An interface for creating and integrating Domain-Specific Language (DSL) implementations with the rule engine.
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

enqueue(K, Function<? super K, ? extends CompletableFuture<T>>) - Method in class org.evrete.util.CompletionManager
Enqueues a new CompletableFuture for the given key.
EnumCombinationIterator<E extends Enum<E>> - Class in org.evrete.util
Provides an iterator for all combinations of enum values for a given enum class E inside a given array E[].
EnumCombinationIterator(Class<E>, E[]) - Constructor for class org.evrete.util.EnumCombinationIterator
 
Environment - Interface in org.evrete.api
The Environment interface provides a way to store and retrieve property values.
EnvironmentChangeEvent - Interface in org.evrete.api.events
Interface representing an ContextEvent that occurs when an environment property changes.
eq(Object...) - Static method in class org.evrete.util.BaseRuleClass
 
eq(Object, Object) - Static method in class org.evrete.util.BaseRuleClass
 
equals(Object) - Method in class org.evrete.api.LhsField
 
equals(Object) - Method in class org.evrete.util.IndexedValue
 
equals(Object) - Method in class org.evrete.util.TypeWrapper
 
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 context that maintains a collection of every condition used in the engine's runtime.
EventBus - Interface in org.evrete.api.events
Interface representing an Event Bus for subscribing to events.
Events - Class in org.evrete.api.events
A simpler alternative to the Flow class and its interfaces.
Events.Event - Interface in org.evrete.api.events
A marker interface for all events.
Events.Publisher<E extends Events.Event> - Interface in org.evrete.api.events
A Publisher provides a mechanism to subscribe consumers to it.
Events.Subscription - Interface in org.evrete.api.events
Interface for controlling the subscription.
Events.Subscriptions - Class in org.evrete.api.events
Utility class for cancelling multiple Events.Subscription objects at once.
EventSubscription - Annotation Interface in org.evrete.dsl.annotation
Annotation for methods that serve as subscribers to the engine's events.
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.builders.RuleBuilder
Terminates current rule builder as a rule without action.
execute(Runnable) - Method in class org.evrete.util.DelegatingExecutorService
 
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.builders.RuleBuilder
Terminates current rule builder with the provided RHS action
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.builders.RuleBuilder
Terminates current rule builder with the provided RHS action
ExtendedFuture<T> - Class in org.evrete.util
 
ExtendedFuture() - Constructor for class org.evrete.util.ExtendedFuture
 

F

fact() - Method in class org.evrete.api.LhsField
 
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
Represents a unique identifier for a fact in working memory.
FactStorage<FH extends FactHandle,V> - Interface in org.evrete.api.spi
A fact storage interface
FactStorageWrapper<FH extends FactHandle,V> - Class in org.evrete.util
 
FactStorageWrapper(FactStorage<FH, V>) - Constructor for class org.evrete.util.FactStorageWrapper
 
field() - Method in class org.evrete.api.LhsField
 
FieldDeclaration - Annotation Interface in org.evrete.dsl.annotation
Marks a method as a field declaration.
FilteringIterator<T> - Class in org.evrete.util
 
FilteringIterator(Iterator<T>, Predicate<T>) - Constructor for class org.evrete.util.FilteringIterator
 
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 logical 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
fireAsync() - Method in interface org.evrete.api.StatefulSession
Deprecated.
fireAsync(T) - Method in interface org.evrete.api.StatefulSession
Deprecated.
FlatMapIterator<T,Z> - Class in org.evrete.util
 
FlatMapIterator(Iterator<T>, Function<T, Iterator<Z>>) - Constructor for class org.evrete.util.FlatMapIterator
 
FluentEnvironment<X> - Interface in org.evrete.api
The FluentEnvironment interface extends the functionality of Environment to 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(BiConsumer<EvaluatorHandle, ValuesPredicate>) - Method in interface org.evrete.api.EvaluatorsContext
Executes the specified action for each Evaluator with its corresponding handle.
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
 
ForkingMap<K,V> - Class in org.evrete.util
A basic map data structure that can be used in implementations of the Copyable interface.
ForkingMap() - Constructor for class org.evrete.util.ForkingMap
 
fromDottedVariables(String[]) - Static method in class org.evrete.api.LhsField.Array
 

G

get() - Method in class org.evrete.api.Imports
 
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 class org.evrete.api.LhsField.Array
 
get(int, Class<T>) - Method in interface org.evrete.api.IntToValue
Retrieves the value at the specified index with the expected return type.
get(long) - Method in interface org.evrete.api.spi.ValueIndexer
Retrieves the value associated with the given unique identifier.
get(FH) - Method in interface org.evrete.api.spi.FactStorage
Retrieves a fact value by fact handle.
get(FH) - Method in class org.evrete.util.FactStorageWrapper
 
get(Class<T>, String) - Method in interface org.evrete.api.RhsContext
A typed version of the get() method with an explicit generic cast type.
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.AbstractEnvironment
 
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.
get(K) - Method in class org.evrete.util.ForkingMap
 
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
 
getArguments() - Method in interface org.evrete.api.events.ConditionEvaluationEvent
Returns the values involved in the condition evaluation.
getAsBoolean(String) - Method in class org.evrete.Configuration
Retrieves the value of a property as a boolean.
getAsBoolean(String, boolean) - Method in class org.evrete.Configuration
Retrieves the value of a property as a boolean.
getAsInteger(String, int) - Method in class org.evrete.Configuration
 
getClassLoader() - Method in interface org.evrete.api.builders.RuleSetBuilder
Returns the current ClassLoader associated with this builder.
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.spi.SourceCompiler.Result
 
getComplexity() - Method in interface org.evrete.api.WorkUnit
 
getCondition() - Method in interface org.evrete.api.events.ConditionEvaluationEvent
Returns the evaluator responsible for the condition evaluation.
getCondition() - Method in class org.evrete.api.LhsCondition
 
getConditionManager() - Method in interface org.evrete.api.builders.RuleBuilder
Returns a non-fluent API for adding conditions and obtain their EvaluatorHandle handles.
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.builders.RuleSetBuilder
Returns the builder's context.
getContext() - Method in interface org.evrete.api.events.ConditionEvaluationEvent
Returns the RuleSession during which the condition was evaluated.
getDeclaredFactTypes() - Method in interface org.evrete.api.NamedType.Resolver
 
getDeclaringType() - Method in interface org.evrete.api.TypeField
Returns the declaring Type
getDelegate() - Method in class org.evrete.util.TypeWrapper
 
getDescriptor() - Method in class org.evrete.api.LhsCondition
 
getDSL(Class<? extends DSLKnowledgeProvider>) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the DSLKnowledgeProvider.load(String) utility method instead.
getDSL(String) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the DSLKnowledgeProvider.load(String) utility method instead.
getEndTime() - Method in interface org.evrete.api.events.TimedEvent
Returns the end time of the event.
getErrorMessage(SourceCompiler.ClassSource) - Method in exception org.evrete.util.CompilationException
 
getErrorSources() - Method in exception org.evrete.util.CompilationException
 
getEvaluatorsContext() - Method in interface org.evrete.api.RuntimeContext
Return the condition manager associated with this context.
getEvaluatorsContext() - Method in class org.evrete.util.AbstractSessionWrapper
 
getFact(FactHandle) - Method in interface org.evrete.api.RuleSession
Returns fact by its handle.
getFact(FactHandle) - Method in class org.evrete.util.AbstractSessionWrapper
 
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
 
getId() - Method in interface org.evrete.api.FactHandle
Returns the unique identifier of the fact.
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
 
getIndex() - Method in class org.evrete.util.AbstractIndex
 
getIndex() - Method in interface org.evrete.util.Indexed
 
getIndex() - Method in class org.evrete.util.IndexedValue
 
getJavaClass() - 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.
getJavaClass() - Method in class org.evrete.util.TypeWrapper
 
getJavaImports() - Method in interface org.evrete.api.FluentImports
Deprecated.
getJavaType() - Method in interface org.evrete.api.Type
Deprecated.
use the Type.getJavaClass() method instead
getJavaType() - Method in class org.evrete.util.TypeWrapper
Deprecated.
getKey() - Method in class org.evrete.util.MapEntryImpl
 
getKnowledge() - Method in interface org.evrete.api.events.KnowledgeCreatedEvent
Gets the newly created Knowledge instance associated with this event.
getKnownTypes() - Method in interface org.evrete.api.TypeResolver
Returns a collection of all known types.
getKnownTypes(Class<?>) - Method in interface org.evrete.api.TypeResolver
Returns a collection of all known types that have the same Java type as specified by the argument.
getLhs() - Method in interface org.evrete.api.builders.RuleBuilder
Returns the LhsBuilder instance.
getMemoryFactoryProvider() - Method in class org.evrete.KnowledgeService
 
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.spi.DSLKnowledgeProvider
Returns the name of the DSL knowledge provider.
getName() - Method in interface org.evrete.api.Type
Returns logical name of the type
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.AbstractSessionWrapper
 
getName() - Method in class org.evrete.util.TypeWrapper
 
getObject(String) - Method in interface org.evrete.api.RhsContext
Returns the current fact by its name.
getOrCreateId(V) - Method in interface org.evrete.api.spi.ValueIndexer
Returns the unique identifier for the specified value, creating a new one if it does not already exist.
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
 
getPredicate() - Method in interface org.evrete.api.CompiledPredicate
Compiled predicate
getPredicate(EvaluatorHandle) - Method in interface org.evrete.api.EvaluatorsContext
Returns evaluator by its handle.
getProperty() - Method in interface org.evrete.api.events.EnvironmentChangeEvent
Gets the name of the property that changed.
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.AbstractEnvironment
 
getPropertyNames() - Method in class org.evrete.util.AbstractSessionWrapper
 
getPublisher(Class<E>) - Method in interface org.evrete.api.events.EventBus
Returns a publisher for a specific event class type.
getPublisher(Class<E>) - 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 interface org.evrete.api.Rule
Gets the RHS (Right Hand Side) logic as a Consumer.
getRule() - Method in interface org.evrete.api.RhsContext
Returns a 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, equivalent to getRule().getRuntime().
getRuntime() - Method in interface org.evrete.api.RuntimeRule
 
getSalience() - Method in interface org.evrete.api.Rule
Retrieves the rule's salience.
getService() - Method in interface org.evrete.api.RuntimeContext
Returns the KnowledgeService instance.
getService() - Method in class org.evrete.util.AbstractSessionWrapper
 
getSession() - Method in interface org.evrete.api.events.SessionClosedEvent
 
getSession() - Method in interface org.evrete.api.events.SessionCreatedEvent
Returns the created session
getSession() - Method in interface org.evrete.api.events.SessionFireEvent
Returns the RuleSession associated with this event.
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.CompiledPredicate
 
getSource() - Method in interface org.evrete.api.LiteralPredicate
 
getSource() - Method in interface org.evrete.api.spi.SourceCompiler.ClassSource
 
getSource() - Method in interface org.evrete.api.spi.SourceCompiler.Result
 
getSourceCompilerProvider() - Method in class org.evrete.KnowledgeService
 
getSources() - Method in interface org.evrete.api.RuleCompiledSources
Returns the sources for this compilation.
getStartTime() - Method in interface org.evrete.api.events.TimedEvent
Returns the start time of the event.
getType() - Method in interface org.evrete.api.NamedType
Method returns engine's internal Type of a fact declaration
getType(String) - Method in interface org.evrete.api.TypeResolver
 
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() - Method in interface org.evrete.api.events.EnvironmentChangeEvent
Gets the value of the property after the change has occurred.
getValue() - Method in class org.evrete.util.Hierarchy
Returns the value of the current node.
getValue() - Method in class org.evrete.util.IndexedValue
 
getValue() - Method in class org.evrete.util.MapEntryImpl
 
getValueType() - Method in interface org.evrete.api.TypeField
Returns the value type of the TypeField.
getVarName() - Method in interface org.evrete.api.NamedType
Returns name of a fact declaration, for example "$customer"
GroupingReteMemory<V> - Interface in org.evrete.api.spi
A map-like storage that holds objects grouped by keys, similar to Map<Long, Set<V>>.
GroupingReteMemoryWrapper<V> - Class in org.evrete.util
 
GroupingReteMemoryWrapper(GroupingReteMemory<V>) - Constructor for class org.evrete.util.GroupingReteMemoryWrapper
 

H

hashCode() - Method in class org.evrete.api.LhsField
 
hashCode() - Method in class org.evrete.util.IndexedValue
 
hashCode() - Method in class org.evrete.util.TypeWrapper
 
hasNext() - Method in class org.evrete.util.CombinationIterator
 
hasNext() - Method in class org.evrete.util.EnumCombinationIterator
 
hasNext() - Method in class org.evrete.util.FilteringIterator
 
hasNext() - Method in class org.evrete.util.FlatMapIterator
 
hasNext() - Method in class org.evrete.util.MappingIterator
 
Hierarchy<T> - Class in org.evrete.util
The Hierarchy class represents a hierarchical structure of elements.
Hierarchy(T) - Constructor for class org.evrete.util.Hierarchy
Constructs a Hierarchy root node.
Hierarchy(T, Hierarchy<T>) - Constructor for class org.evrete.util.Hierarchy
Constructs a Hierarchy with a specified value and an optional parent.

I

IDENTITY_METHOD_EQUALS - Static variable in class org.evrete.Configuration
 
IDENTITY_METHOD_IDENTITY - Static variable in class org.evrete.Configuration
 
importRules(String, Object) - Method in interface org.evrete.api.RuntimeContext
Imports rules using the specified DSL provider and rule sources into this ruleset builder.
importRules(DSLKnowledgeProvider, Object) - Method in interface org.evrete.api.RuntimeContext
Imports all rules using the specified DSL provider and rule source into this ruleset builder.
Imports - Class in org.evrete.api
Represents a class for managing Java imports.
Imports() - Constructor for class org.evrete.api.Imports
 
Indexed - Interface in org.evrete.util
An object with an assigned unique index.
IndexedValue<T> - Class in org.evrete.util
Represents an object with an assigned unique index.
IndexedValue(int, T) - Constructor for class org.evrete.util.IndexedValue
 
insert(long, V) - Method in interface org.evrete.api.spi.GroupingReteMemory
Buffers a new key/value combination into the delta memory.
insert(long, V) - Method in class org.evrete.util.GroupingReteMemoryWrapper
 
insert(FH, V) - Method in interface org.evrete.api.spi.FactStorage
Inserts a fact into the delta storage.
insert(FH, V) - Method in class org.evrete.util.FactStorageWrapper
 
insert(Iterable<?>) - Method in interface org.evrete.api.RuleSession
Inserts a collection of facts.
insert(Object) - Method in interface org.evrete.api.SessionOps
Inserts a fact in working memory and returns a serializable fact handle.
insert(Object...) - Method in interface org.evrete.api.RuleSession
Inserts an array of facts.
INSERT_BUFFER_SIZE - Static variable in class org.evrete.Configuration
 
insert0(Object, boolean) - Method in interface org.evrete.api.SessionOps
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.SessionOps
Inserts a fact and explicitly specifies its Type name.
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.SessionOps
Inserts a fact and explicitly specifies its Type name.
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.SourceCompilerProvider
Creates a new instance of SourceCompiler using the specified ClassLoader.
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.TypeResolverProvider
Deprecated.
instance(RuntimeContext<?>, Class<FH>) - Method in interface org.evrete.api.spi.MemoryFactoryProvider
 
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.
invokeAll(Collection<? extends Callable<T>>) - Method in class org.evrete.util.DelegatingExecutorService
 
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.evrete.util.DelegatingExecutorService
 
invokeAny(Collection<? extends Callable<T>>) - Method in class org.evrete.util.DelegatingExecutorService
 
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.evrete.util.DelegatingExecutorService
 
isPassed() - Method in interface org.evrete.api.events.ConditionEvaluationEvent
Returns the result of the condition evaluation.
isShutdown() - Method in class org.evrete.util.DelegatingExecutorService
 
isTerminated() - Method in class org.evrete.util.DelegatingExecutorService
 
iterator(MemoryScope) - Method in interface org.evrete.api.ReteMemory
Provides an iterator over permanent or temporary (uncommitted) storage depending on the specified scope.
iterator(MemoryScope) - Method in class org.evrete.util.GroupingReteMemoryWrapper
 

J

JavaSourceUtils - Class in org.evrete.util
 
JavaSourceUtils() - Constructor for class org.evrete.util.JavaSourceUtils
 

K

keyIterator(MemoryScope) - Method in interface org.evrete.api.spi.GroupingReteMemory
 
Knowledge - Interface in org.evrete.api
Knowledge is a preprocessed ruleset.
KnowledgeCreatedEvent - Interface in org.evrete.api.events
Represents an event that occurs when a new instance of Knowledge is created.
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

length() - Method in class org.evrete.api.LhsField.Array
 
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.
LhsCondition<C,Fact,Field> - Class in org.evrete.api
A generic class for representing LHS conditions.
LhsCondition(C, LhsField.Array<Fact, Field>) - Constructor for class org.evrete.api.LhsCondition
 
LhsCondition(LhsCondition<C, ?, ?>, LhsField.Array<Fact, Field>) - Constructor for class org.evrete.api.LhsCondition
 
LhsFactSelector<T> - Interface in org.evrete.api
A convenience interface to use for LHS fact declarations.
LhsField<Fact,Field> - Class in org.evrete.api
A convenient generic class for referencing LHS (Left-Hand Side) field declarations.
LhsField(Fact, Field) - Constructor for class org.evrete.api.LhsField
 
LhsField(Fact, LhsField<?, Field>) - Constructor for class org.evrete.api.LhsField
 
LhsField(LhsField<Fact, ?>, Field) - Constructor for class org.evrete.api.LhsField
 
LhsField.Array<Fact,Field> - Class in org.evrete.api
In many cases, the order of field references matters, and this class provides a wrapper for an array of references.
LiteralPredicate - Interface in org.evrete.api
Represents a literal condition
load(Class<? extends DSLKnowledgeProvider>) - Static method in interface org.evrete.api.spi.DSLKnowledgeProvider
Attempts to load and instantiate a DSLKnowledgeProvider implementation.
load(String) - Static method in interface org.evrete.api.spi.DSLKnowledgeProvider
Loads a specific DSL (Domain-Specific Language) knowledge provider based on the provided identifier.
log(Logger, Level) - Method in exception org.evrete.util.CompilationException
 
logicalNameOf(Class<?>) - Static method in interface org.evrete.api.Type
 

M

MAIN - Enum constant in enum class org.evrete.api.spi.MemoryScope
Identifies main memory
mapArray(Class<V>, K[], Function<K, V>) - Static method in class org.evrete.util.CommonUtils
 
MapEntryImpl<K,V> - Class in org.evrete.util
 
MapEntryImpl(K, V) - Constructor for class org.evrete.util.MapEntryImpl
 
MapFunction<K,V> - Class in org.evrete.util
A class that implements a Function interface using an internal map.
MapFunction() - Constructor for class org.evrete.util.MapFunction
 
MapFunction(Collection<V>, Function<V, K>) - Constructor for class org.evrete.util.MapFunction
 
MappingIterator<T,Z> - Class in org.evrete.util
The MappingReIterator class implements the Iterator interface and maps values using the provided functional interface.
MappingIterator(Iterator<T>, Function<? super T, Z>) - Constructor for class org.evrete.util.MappingIterator
 
MemoryFactory<FH extends FactHandle> - Interface in org.evrete.api.spi
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.
MemoryScope - Enum Class in org.evrete.api.spi
Defines memory scopes for use with instances of ReteMemory and provides utilities for iterating over state combinations based on these scopes.
MemoryStreaming - Interface in org.evrete.api
Provides streaming methods for handling in-memory facts.
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 MethodPredicate annotation 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.
newFactStorage(Class<V>) - Method in interface org.evrete.api.spi.MemoryFactory
 
newGroupedFactStorage(Class<FH>) - Method in interface org.evrete.api.spi.MemoryFactory
 
newIdentityHashSet() - Static method in class org.evrete.util.CommonUtils
 
newKnowledge() - Method in class org.evrete.KnowledgeService
 
newKnowledge(Class<? extends DSLKnowledgeProvider>, File...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, InputStream...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, Reader...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, Class<?>...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, String...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(DSLKnowledgeProvider, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, URL...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, File...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, InputStream...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, Reader...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, Class<?>...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(Class<? extends DSLKnowledgeProvider>, TypeResolver, URL...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String) - Method in class org.evrete.KnowledgeService
 
newKnowledge(String, File...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, InputStream...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, Reader...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, Class<?>...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, String...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, URL...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, TypeResolver, File...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, TypeResolver, InputStream...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, TypeResolver, Reader...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, TypeResolver, Class<?>...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(String, TypeResolver, URL...) - Method in class org.evrete.KnowledgeService
Deprecated.
this method is deprecated and scheduled for removal. Use the new RuntimeContext.importRules(String, Object) approach or the
newKnowledge(TypeResolver) - Method in class org.evrete.KnowledgeService
Deprecated.
use the default KnowledgeService.newKnowledge() method
newKnowledge(TypeResolver, String) - Method in class org.evrete.KnowledgeService
Deprecated.
newRule() - Method in interface org.evrete.api.builders.RuleSetBuilder
Creates a new unnamed rule.
newRule(String) - Method in interface org.evrete.api.builders.RuleSetBuilder
Creates a new rule with the provided name.
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 StatelessSession with the specified ActivationMode.
newValueIndexed(Class<T>) - Method in interface org.evrete.api.spi.MemoryFactory
 
next() - Method in class org.evrete.util.CombinationIterator
 
next() - Method in class org.evrete.util.EnumCombinationIterator
 
next() - Method in class org.evrete.util.FilteringIterator
 
next() - Method in class org.evrete.util.FlatMapIterator
 
next() - Method in class org.evrete.util.MappingIterator
 
nextBranch() - Method in class org.evrete.util.ForkingMap
 
NonNull - Annotation Interface in org.evrete.api.annotations
A source-level annotation to declare that annotated elements can not be null
Nullable - Annotation Interface in org.evrete.api.annotations
A source-level annotation to declare that annotated elements can be null under some circumstances

O

OBJECT_COMPARE_METHOD - Static variable in class org.evrete.Configuration
 
of(String, double) - Static method in interface org.evrete.api.LiteralPredicate
 
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
Deprecated.
Invoked when a session lifecycle event occurs.
or(Predicate<Z>) - Method in interface org.evrete.api.IntObjectPredicate
Combines this IntObjectPredicate with the specified Predicate to create a new IntObjectPredicate.
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.events - package org.evrete.api.events
 
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

parse(String) - Static method in class org.evrete.util.JavaSourceUtils
 
parseDottedVariable(String) - Static method in class org.evrete.api.LhsField
 
PRE_CLOSE - Enum constant in enum class org.evrete.api.SessionLifecycleListener.Event
Deprecated.
Event indicating that a session is about to close.
PRE_FIRE - Enum constant in enum class org.evrete.api.SessionLifecycleListener.Event
Deprecated.
Event indicating that a session is about to fire.
PredicateImplementation - Annotation Interface in org.evrete.dsl.annotation
A marker interface used to indicate that the annotated method is referenced by one or more MethodPredicate annotations and should not be flagged as unused by the IDE.
PROP_EXTEND_RULE_CLASSES - Static variable in interface org.evrete.dsl.Constants
A boolean property that defines whether internal Java sources related to literal conditions should extend the corresponding Java class with annotated rules.
PROP_RULE_CLASSES - Static variable in interface org.evrete.dsl.Constants
A property that specifies the class names to import from a JAR archive.
PROP_RULESETS - Static variable in interface org.evrete.dsl.Constants
A property that specifies the names of the rulesets to import from a JAR archive.
PROP_SOURCES_CHARSET - Static variable in interface org.evrete.dsl.Constants
A property that specifies the character encoding to be used for Java sources.
PROP_SOURCES_CHARSET_DEFAULT - Static variable in interface org.evrete.dsl.Constants
The default character encoding for internal Java sources.
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
publisher(EvaluatorHandle) - Method in interface org.evrete.api.EvaluatorsContext
Creates or returns an existing publisher for a condition with the provided handle.
put(K, V) - Method in class org.evrete.util.ForkingMap
 
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.
remove() - Method in class org.evrete.util.MappingIterator
 
remove(FH) - Method in interface org.evrete.api.spi.FactStorage
Deletes a fact from the memory for both MemoryScope.DELTA and MemoryScope.MAIN scopes.
remove(FH) - Method in class org.evrete.util.FactStorageWrapper
 
removeEventListener(SessionLifecycleListener) - Method in interface org.evrete.api.RuleSession
Deprecated.
since 4.0.0. The library has moved from an Observer to a PubSub pattern. See the EventBus.subscribe(Class, boolean, Consumer) method for alternatives to adding listeners.
replace(K, V) - Method in class org.evrete.util.ForkingMap
 
replacePredicate(EvaluatorHandle, ValuesPredicate) - Method in interface org.evrete.api.EvaluatorsContext
Replaces an existing condition with a new one.
resolve(Object) - Method in interface org.evrete.api.TypeResolver
 
resolve(String) - Method in interface org.evrete.api.NamedType.Resolver
Returns NamedType by its declared variable name
resolveCollection(Object) - Static method in class org.evrete.util.CommonUtils
 
resolvedFields() - Method in interface org.evrete.api.CompiledPredicate
Returns the resolved fields in the order required by the predicate
resolveJavaType() - Method in interface org.evrete.api.Type
Deprecated.
use the Type.getJavaClass() method instead
resolveJavaType() - Method in class org.evrete.util.TypeWrapper
Deprecated.
ReteMemory<M> - Interface in org.evrete.api
Describes a general session-level memory interface related to the Rete algorithm.
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
Provides access to the rule's RHS (Right-Hand Side) variables and the session memory's 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.
RuleCompiledSources<S extends RuleLiteralData<R,C>,R extends Rule,C extends LiteralPredicate> - 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 Knowledge instance.
RuleElement - Annotation Interface in org.evrete.api.annotations
A marker interface indicating that the annotated type, method, field, parameter, or package is being used inside rules.
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,C extends LiteralPredicate> - 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 Sort enum 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 RuntimeContext and RuleSet.
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 RuntimeRule is a representation of a rule that is already associated with a RuleSession.

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.
sameAs(NamedType) - Method in interface org.evrete.api.NamedType
 
self() - Method in class org.evrete.util.AbstractSessionWrapper
 
SessionClosedEvent - Interface in org.evrete.api.events
Represents an event that occurs when a RuleSession is closed
SessionCollector<T,S extends RuleSession<S>> - Class in org.evrete.util
A class that collects/inserts elements into a RuleSession instance.
SessionCollector(S) - Constructor for class org.evrete.util.SessionCollector
 
SessionCreatedEvent - Interface in org.evrete.api.events
Represents an event that occurs when a new RuleSession is created
SessionFireEvent - Interface in org.evrete.api.events
Represents an event that occurs immediately after RuleSession.fire() is called.
SessionLifecycleListener - Interface in org.evrete.api
Deprecated.
since 4.0.0. The library has moved from an Observer to a PubSub pattern. See the EventBus.subscribe(Class, boolean, Consumer) method for alternatives to adding listeners.
SessionLifecycleListener.Event - Enum Class in org.evrete.api
Deprecated.
Enumeration of the different events that can trigger the callback.
SessionOps - Interface in org.evrete.api
 
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.AbstractEnvironment
 
set(String, Object) - Method in class org.evrete.util.AbstractSessionWrapper
 
set(String, String) - Method in class org.evrete.Configuration
 
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 class org.evrete.KnowledgeService
 
setCondition(C) - Method in class org.evrete.api.LhsCondition
 
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 interface org.evrete.api.Rule
Sets the RHS logic using a literal string.
setRhs(Consumer<RhsContext>) - Method in interface org.evrete.api.Rule
Sets the RHS logic using a Consumer.
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 interface org.evrete.api.Rule
Sets the rule's salience.
setValue(V) - Method in class org.evrete.util.MapEntryImpl
 
shutdown() - Method in class org.evrete.KnowledgeService
Shuts down the service.
shutdown() - Method in class org.evrete.util.DelegatingExecutorService
 
shutdownNow() - Method in class org.evrete.util.DelegatingExecutorService
 
size() - Method in class org.evrete.util.MapFunction
 
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.
SourceCompiler - Interface in org.evrete.api.spi
The SourceCompiler interface is used to compile Java source files.
SourceCompiler.ClassSource - Interface in org.evrete.api.spi
The ClassSource interface represents a source code file that can be compiled by a Java compiler.
SourceCompiler.Result<S extends SourceCompiler.ClassSource> - Interface in org.evrete.api.spi
The Result interface represents the result of compiling a source code file using a Java compiler.
SourceCompilerProvider - Interface in org.evrete.api.spi
Provides instances of SourceCompiler.
sourceTypes() - Method in class org.evrete.dsl.DSLClassProvider
 
sourceTypes() - Method in class org.evrete.dsl.DSLJarProvider
 
sourceTypes() - Method in class org.evrete.dsl.DSLSourceProvider
 
SPI_EXPRESSION_RESOLVER - Static variable in class org.evrete.Configuration
 
SPI_LHS_STRIP_WHITESPACES - Static variable in class org.evrete.Configuration
 
splitConfigString(String) - Static method in class org.evrete.util.CommonUtils
 
splitCSV(String) - Static method in class org.evrete.util.CommonUtils
 
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.
states(MemoryScope, MemoryScope[]) - Static method in enum class org.evrete.api.spi.MemoryScope
Returns all state combinations depending on the provided scope.
stream() - Method in interface org.evrete.api.spi.FactStorage
Returns stream of currently stored values.
stream() - Method in class org.evrete.util.FactStorageWrapper
 
stream(MemoryScope) - Method in interface org.evrete.api.ReteMemory
Provides a default implementation for streaming over stored elements based on the provided scope.
stream(MemoryScope, long) - Method in interface org.evrete.api.spi.GroupingReteMemory
Provides a default implementation for streaming over stored elements based on the provided key and scope.
streamFactEntries() - Method in interface org.evrete.api.MemoryStreaming
Streams all fact entries as a Stream of Map.Entry objects.
streamFactEntries() - Method in class org.evrete.util.AbstractSessionWrapper
 
streamFactEntries(Class<T>) - Method in interface org.evrete.api.MemoryStreaming
Streams all fact entries of a specific Java type as a Stream of Map.Entry objects.
streamFactEntries(Class<T>) - Method in class org.evrete.util.AbstractSessionWrapper
 
streamFactEntries(String) - Method in interface org.evrete.api.MemoryStreaming
Streams all fact entries of a specific type as a Stream of Map.Entry objects.
streamFactEntries(String) - Method in class org.evrete.util.AbstractSessionWrapper
 
streamFacts() - Method in interface org.evrete.api.MemoryStreaming
Streams all facts as a Stream of Object values.
streamFacts(Class<T>) - Method in interface org.evrete.api.MemoryStreaming
Streams all facts of a specific type as a Stream of Object values.
streamFacts(String) - Method in interface org.evrete.api.MemoryStreaming
Streams all facts of a specific type as a Stream of Object values.
submit(Runnable) - Method in class org.evrete.util.DelegatingExecutorService
 
submit(Runnable, T) - Method in class org.evrete.util.DelegatingExecutorService
 
submit(Callable<T>) - Method in class org.evrete.util.DelegatingExecutorService
 
subscribe(boolean, Consumer<E>) - Method in interface org.evrete.api.events.Events.Publisher
Subscribes a consumer to this publisher.
subscribe(boolean, Consumer<E>) - Method in class org.evrete.util.BroadcastingPublisher
 
subscribe(Class<E>, boolean, Consumer<E>) - Method in interface org.evrete.api.events.EventBus
Subscribes an even consumer to a specific event class type.
subscribe(Class<E>, Consumer<E>) - Method in interface org.evrete.api.events.EventBus
 
subscribe(Consumer<E>) - Method in interface org.evrete.api.events.Events.Publisher
 
subscribe(Events.Subscriptions, boolean, Consumer<E>) - Method in interface org.evrete.api.events.Events.Publisher
Subscribes a consumer to this publisher and stores the subscription in the provided cancellable collection.
subscribe(Events.Subscriptions, Consumer<E>) - Method in interface org.evrete.api.events.Events.Publisher
 
subscribeAsync(Class<E>, Consumer<E>) - Method in interface org.evrete.api.events.EventBus
 
subscribeAsync(Consumer<E>) - Method in interface org.evrete.api.events.Events.Publisher
 
subscribeAsync(Events.Subscriptions, Consumer<E>) - Method in interface org.evrete.api.events.Events.Publisher
 
Subscriptions() - Constructor for class org.evrete.api.events.Events.Subscriptions
 
supplier() - Method in class org.evrete.util.SessionCollector
 

T

taskCount() - Method in class org.evrete.util.CompletionManager
 
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
 
TimedEvent - Interface in org.evrete.api.events
The TimedEvent interface represents a ContextEvent that has a start and end time.
toByteArray(InputStream) - Static method in class org.evrete.util.CommonUtils
 
toByteArrayChecked(InputStream) - Static method in class org.evrete.util.CommonUtils
 
toCollection(Object) - Static method in class org.evrete.util.CommonUtils
 
toFields(String[], NamedType.Resolver) - Static method in class org.evrete.api.LhsField.Array
 
toString() - Method in class org.evrete.api.Imports
 
toString() - Method in class org.evrete.api.LhsCondition
 
toString() - Method in class org.evrete.api.LhsField.Array
 
toString() - Method in class org.evrete.api.LhsField
 
toString() - Method in class org.evrete.util.AbstractIndex
 
toString() - Method in class org.evrete.util.GroupingReteMemoryWrapper
 
toString() - Method in class org.evrete.util.IndexedValue
 
toString() - Method in class org.evrete.util.MappingIterator
 
toString(Reader) - Static method in class org.evrete.util.CommonUtils
 
totalLocalSubscriptions() - Method in class org.evrete.util.BroadcastingPublisher
 
toTypeField(LhsField<String, String>, NamedType.Resolver) - Static method in class org.evrete.util.CommonUtils
 
transform(Function<LhsField<Fact, Field>, LhsField<Fact1, Field1>>) - Method in class org.evrete.api.LhsField.Array
 
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 the 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.
TypeWrapper<T> - Class in org.evrete.util
A wrapper class that implements the Type interface and delegates the calls to another Type implementation.
TypeWrapper(Type<T>) - Constructor for class org.evrete.util.TypeWrapper
 

U

update(Object) - Method in interface org.evrete.api.RhsContext
Notifies the working memory that one of its objects has changed.
update(FactHandle, Object) - Method in interface org.evrete.api.SessionOps
Updates a fact that already exists in the working memory
update(FactHandle, Object) - Method in class org.evrete.util.AbstractSessionWrapper
 
updateFact(String) - Method in interface org.evrete.api.RhsContext
Updates a fact in the working memory by its reference name.

V

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.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"]`.
ValueIndexer<V> - Interface in org.evrete.api.spi
A collection that stores values and assigns them a unique long identifier.
valueIterator(MemoryScope, long) - Method in interface org.evrete.api.spi.GroupingReteMemory
Returns an iterator over values.
valueIterator(MemoryScope, long) - Method in class org.evrete.util.GroupingReteMemoryWrapper
 
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.SessionLifecycleListener.Event
Deprecated.
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.evrete.api.spi.MemoryScope
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.
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.SessionLifecycleListener.Event
Deprecated.
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.spi.MemoryScope
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() - Method in class org.evrete.util.MapFunction
 
ValuesPredicate - Interface in org.evrete.api
Every condition in the engine is a ValuesPredicate.

W

walkUp(Consumer<T>) - Method in class org.evrete.util.Hierarchy
Walks up the hierarchy, starting from the current node and applying the given consumer to each node's value.
WARN_UNKNOWN_TYPES - Static variable in class org.evrete.Configuration
 
WARN_UNKNOWN_TYPES_DEFAULT - 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, double) - Method in interface org.evrete.api.builders.LhsBuilder
Adds a condition expression to the current LhsBuilder.
where(Predicate<Object[]>, double, String...) - Method in interface org.evrete.api.builders.LhsBuilder
Adds a condition to the current LhsBuilder with the provided predicate, complexity, and references.
where(Predicate<Object[]>, String...) - Method in interface org.evrete.api.builders.LhsBuilder
Adds a condition to the current LhsBuilder with the provided predicate, default complexity, and references.
where(ValuesPredicate, double, String...) - Method in interface org.evrete.api.builders.LhsBuilder
Adds a condition to the current LhsBuilder with the provided predicate, complexity, and field references.
where(ValuesPredicate, String...) - Method in interface org.evrete.api.builders.LhsBuilder
Adds a condition to the current LhsBuilder with the provided predicate and field references.
Where - Annotation Interface in org.evrete.dsl.annotation
This annotation can be used to define conditions for a rule method.
withExecutor(ExecutorService) - Method in class org.evrete.KnowledgeService.Builder
Sets the external ExecutorService for this builder.
withMemoryFactoryProvider(Class<? extends MemoryFactoryProvider>) - Method in class org.evrete.KnowledgeService.Builder
Sets the MemoryFactoryProvider class for this builder.
withSourceCompilerProvider(Class<? extends SourceCompilerProvider>) - Method in class org.evrete.KnowledgeService.Builder
Sets the SourceCompilerProvider class for this builder.
withTypeResolverProvider(Class<? extends TypeResolverProvider>) - Method in class org.evrete.KnowledgeService.Builder
Sets the TypeResolverProvider class for this builder.
WorkUnit - Interface in org.evrete.api
A unit of work with given complexity.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form