Module org.evrete.core
Package org.evrete.api
Interface RuleCompiledSources<S extends RuleLiteralData<R>,R extends Rule>
public interface RuleCompiledSources<S extends RuleLiteralData<R>,R extends Rule>
This class represents a compiled version of RuleLiteralData
-
Method Summary
Modifier and TypeMethodDescriptionReturns the sources for this compilation.rhs()This method returns the sources' compiled RHS.
-
Method Details
-
getSources
S getSources()Returns the sources for this compilation.- Returns:
- the literal sources
-
conditions
Collection<LiteralEvaluator> conditions()- Returns:
- compiled conditions
-
rhs
Consumer<RhsContext> rhs()This method returns the sources' compiled RHS.- Returns:
- Consumer function of RhsContext if available (non-null) in the sources, or null if it's not present.
-