Package org.kie.api.runtime.rule
Interface StatelessRuleSession
- All Known Subinterfaces:
StatelessKieSession
public interface StatelessRuleSession
This interface is used as part of the
StatelessKieSession, which is the interface
returned from the KieBase.
Please see StatelessKieSession for more details on how to use this api.- See Also:
-
Method Summary
-
Method Details
-
execute
Execute a StatelessKieSession inserting just a single object. If a collection (or any other Iterable) or an array is used here, it will be inserted as-is, It will not be iterated and its internal elements inserted.- Parameters:
object-
-
execute
Execute a StatelessKieSession, iterate the Iterable inserting each of its elements. If you have an array, use the Arrays.asList(...) method to make that array Iterable.- Parameters:
objects-
-