Package org.evrete.api
Interface LhsBuilder<C extends RuntimeContext<C>>
-
- All Superinterfaces:
NamedType.Resolver
@Deprecated public interface LhsBuilder<C extends RuntimeContext<C>> extends NamedType.Resolver
Deprecated.in favor ofLhsBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description NamedTypeaddFactDeclaration(String name, Class<?> type)Deprecated.NamedTypeaddFactDeclaration(String name, String type)Deprecated.NamedTypeaddFactDeclaration(String name, Type<?> type)Deprecated.RuleBuilder<C>create()Deprecated.Finishes LHS declaration and returns the rule builderCexecute()Deprecated.Terminates the rule builder without RHS and adds the rule to the current contextCexecute(String literalRhs)Deprecated.Cexecute(Consumer<RhsContext> consumer)Deprecated.Terminates the rule builder with the provided RHS and adds the rule to the current contextRuleBuilder<C>setRhs(String literalConsumer)Deprecated.default LhsBuilder<C>where(String... expressions)Deprecated.LhsBuilder<C>where(String expression, double complexity)Deprecated.LhsBuilder<C>where(Predicate<Object[]> predicate, double complexity, String... references)Deprecated.LhsBuilder<C>where(Predicate<Object[]> predicate, double complexity, FieldReference... references)Deprecated.default LhsBuilder<C>where(Predicate<Object[]> predicate, String... references)Deprecated.default LhsBuilder<C>where(Predicate<Object[]> predicate, FieldReference... references)Deprecated.LhsBuilder<C>where(EvaluatorHandle... expressions)Deprecated.LhsBuilder<C>where(ValuesPredicate predicate, double complexity, String... references)Deprecated.LhsBuilder<C>where(ValuesPredicate predicate, double complexity, FieldReference... references)Deprecated.default LhsBuilder<C>where(ValuesPredicate predicate, String... references)Deprecated.default LhsBuilder<C>where(ValuesPredicate predicate, FieldReference... references)Deprecated.-
Methods inherited from interface org.evrete.api.NamedType.Resolver
getDeclaredFactTypes, resolve
-
-
-
-
Method Detail
-
setRhs
RuleBuilder<C> setRhs(String literalConsumer)
Deprecated.
-
create
RuleBuilder<C> create()
Deprecated.Finishes LHS declaration and returns the rule builder
- Returns:
- rule builder
-
execute
C execute()
Deprecated.Terminates the rule builder without RHS and adds the rule to the current context
- Returns:
- context
-
execute
C execute(Consumer<RhsContext> consumer)
Deprecated.Terminates the rule builder with the provided RHS and adds the rule to the current context
- Parameters:
consumer- RHS- Returns:
- context
-
where
default LhsBuilder<C> where(String... expressions)
Deprecated.
-
where
LhsBuilder<C> where(EvaluatorHandle... expressions)
Deprecated.
-
where
LhsBuilder<C> where(String expression, double complexity)
Deprecated.
-
where
LhsBuilder<C> where(Predicate<Object[]> predicate, double complexity, String... references)
Deprecated.
-
where
default LhsBuilder<C> where(Predicate<Object[]> predicate, String... references)
Deprecated.
-
where
LhsBuilder<C> where(ValuesPredicate predicate, double complexity, String... references)
Deprecated.
-
where
default LhsBuilder<C> where(ValuesPredicate predicate, String... references)
Deprecated.
-
where
LhsBuilder<C> where(Predicate<Object[]> predicate, double complexity, FieldReference... references)
Deprecated.
-
where
default LhsBuilder<C> where(Predicate<Object[]> predicate, FieldReference... references)
Deprecated.
-
where
LhsBuilder<C> where(ValuesPredicate predicate, double complexity, FieldReference... references)
Deprecated.
-
where
default LhsBuilder<C> where(ValuesPredicate predicate, FieldReference... references)
Deprecated.
-
-