- All Superinterfaces:
Environment,FluentEnvironment<Rule>,Named,NamedType.Resolver,Rule
The
RuntimeRule is a representation of a rule that is already associated with a RuleSession.-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluatorbuildExpression(String expression) Compiles a string expression and returns it as anEvaluatorinstance.RuleSession<?>default FieldReference[]Methods inherited from interface org.evrete.api.Environment
get, get, getPropertyNamesMethods inherited from interface org.evrete.api.FluentEnvironment
setMethods inherited from interface org.evrete.api.NamedType.Resolver
getDeclaredFactTypes, resolveMethods inherited from interface org.evrete.api.Rule
chainRhs, getRhs, getSalience, setName, setRhs, setRhs, setSalience
-
Method Details
-
getRuntime
RuleSession<?> getRuntime() -
buildExpression
Compiles a string expression and returns it as an
Evaluatorinstance.- Parameters:
expression- expression to compile- Returns:
- evaluator instance
-
resolve
-