|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRuleEngine
The main rule engine interface. This is the way to plugin your own custom rule engine, or eg drools. The internal nyx rule engine will be an implementation that is always available in the core system and can be used in combination with any ruleengine. The custom rule engine however will take precedence over the internal one. So in case of drools, first all drools rules will be fired and after that the internal rule system.
Field Summary | |
---|---|
static int |
DESTROY_REQUEST
The request must fire destroy in rule |
static int |
EXECUTE_REQUEST
The request must fire execute in rule |
static int |
INIT_REQUEST
The request must fire init in rule |
static int |
POST_REQUEST
The request must fire post in rule |
static int |
PRE_REQUEST
The request must fire pre in rule |
Method Summary | |
---|---|
void |
fireFieldRequest(IWidget widget,
PartRequest request,
int type)
Fire requests for the specified field. |
void |
fireFieldRequests(PartRequest request,
int type)
Fire request on the specfied part |
void |
fireRequest(PartRequest request,
int type)
Fire a single request. |
void |
stopAllRules()
Do not continue any rules left in the rule queue. |
Field Detail |
---|
static final int PRE_REQUEST
static final int EXECUTE_REQUEST
static final int POST_REQUEST
static final int INIT_REQUEST
static final int DESTROY_REQUEST
Method Detail |
---|
void fireFieldRequest(IWidget widget, PartRequest request, int type)
widget
- the widget the request is forrequest
- the request objecttype
- the type of requestvoid fireFieldRequests(PartRequest request, int type)
request
- the request objecttype
- the type of requestvoid fireRequest(PartRequest request, int type)
request
- the request objecttype
- the type of requestvoid stopAllRules()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |