|
KIE API 6.0.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuleContext
Method Summary | |
---|---|
void |
blockMatch(Match match)
This is an experimental feature that must be explicitly enabled via DeclarativeAgendaOption, which is off by default. |
void |
cancelMatch(Match match)
This is an experimental feature that must be explicitly enabled via DeclarativeAgendaOption, which is off by default. |
Match |
getMatch()
Returns the current Match for the current context |
Rule |
getRule()
Returns the active Rule for the current context |
void |
insertLogical(Object object)
Logically inserts a fact into the KnowledgeSession, justified by the current rule context. |
void |
insertLogical(Object object,
Object value)
Logically inserts a fact into the KnowledgeSession, justified by the current rule context. |
void |
unblockAllMatches(Match match)
This is an experimental feature that must be explicitly enabled via DeclarativeAgendaOption, which is off by default. |
Methods inherited from interface org.kie.api.runtime.KieContext |
---|
getKieRuntime, getKnowledgeRuntime |
Method Detail |
---|
Rule getRule()
Match getMatch()
void insertLogical(Object object)
object
- the fact to insert into the knowledge sessionvoid insertLogical(Object object, Object value)
object
- the fact to insert into the knowledge sessionvoid blockMatch(Match match)
match
- void unblockAllMatches(Match match)
match
- void cancelMatch(Match match)
match
-
|
KIE API 6.0.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |