Class RuleEngine
java.lang.Object
fr.paris.lutece.plugins.document.service.rules.RuleEngine
- All Implemented Interfaces:
DocumentEventListener,EventListener
Rule engine. Executes rules on every document event.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuleEngineGets the unique instancevoidinit()InitializevoidProcess a document event
-
Method Details
-
getInstance
Gets the unique instance- Returns:
- The unique instance
-
init
public void init()Initialize -
processDocumentEvent
Process a document event- Specified by:
processDocumentEventin interfaceDocumentEventListener- Parameters:
event- The event to process- Throws:
DocumentException- raise when error occurs in event or rule
-