Interface RuleAction
public interface RuleAction
-
Method Summary
Modifier and TypeMethodDescriptionvoidinsertFacts(Object engineContext, Object... facts) Inserts the given facts using the given context.voidinsertFacts(Object engineContext, Collection facts) Inserts the facts given in collection using the given context.voidupdateFacts(Object engineContext, Object... facts) Updates the given facts using the given context.
-
Method Details
-
insertFacts
Inserts the given facts using the given context.- Parameters:
engineContext- the contextfacts- the facts to insert
-
insertFacts
Inserts the facts given in collection using the given context.- Parameters:
engineContext- the contextfacts- the Collection of facts to insert
-
updateFacts
Updates the given facts using the given context.- Parameters:
engineContext- the contextfacts- the facts to update
-