|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrExecutionEvent
IlrExecutionEvent
represents an execution event.
The following code example shows how to extract the business names of the rules fired:
protected static void addRuleFiredBusinessNames(IlrExecutionTrace trace, ListexecutionEvents, List firedRuleBusinessNames) { Map allRules = trace.getRules(); if (executionEvents != null && allRules != null) { for (IlrExecutionEvent event : executionEvents) { if (event instanceof IlrRuleEvent) { String bname = allRules.get(event.getName()).getBusinessName(); firedRuleBusinessNames.add(bname); } else { List subEvents = ((IlrTaskEvent) event).getSubExecutionEvents(); addRuleFiredBusinessNames(trace, subEvents, firedRuleBusinessNames); } } }
Method Summary | |
---|---|
Date |
getEndDate()
Returns the execution end date. |
String |
getName()
Returns the name of this event. |
Date |
getStartDate()
Returns the execution start date. |
Method Detail |
---|
String getName()
Date getStartDate()
Date getEndDate()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |