|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleContext
| Method Summary | |
|---|---|
void |
blockActivation(Activation match)
This is an experimental feature that must be explicitly enabled via DeclarativeAgendaOption, which is off by default. |
void |
cancelActivation(Activation match)
This is an experimental feature that must be explicitly enabled via DeclarativeAgendaOption, which is off by default. |
Activation |
getActivation()
Returns the current Activation 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 |
unblockAllActivations(Activation match)
This is an experimental feature that must be explicitly enabled via DeclarativeAgendaOption, which is off by default. |
| Methods inherited from interface org.drools.runtime.KnowledgeContext |
|---|
getKnowledgeRuntime |
| Method Detail |
|---|
Rule getRule()
Activation getActivation()
void insertLogical(Object object)
object - the fact to insert into the knowledge sessionvoid blockActivation(Activation match)
match - void unblockAllActivations(Activation match)
match - void cancelActivation(Activation match)
match -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||