|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventListener
EventListener interface.
Method Summary | |
---|---|
boolean |
accepts(String eventId)
Returns true if listener processes given event id. |
void |
addEventId(String eventId)
Adds an event id for this listener to process. |
String |
getName()
Returns the name of the event listener. |
Integer |
getOrder()
Returns the int order of the event listener. |
void |
handleEvent(CoreEvent coreEvent)
Handles the given event. |
void |
operationStarted(Operation<?> cmd)
|
void |
operationTerminated(Operation<?> cmd)
|
void |
removeEventId(String eventId)
Removes an event id for this listener to process. |
void |
setName(String name)
Sets the name of the event listener. |
void |
setOrder(Integer order)
Sets the int order of the event listener. |
Method Detail |
---|
String getName()
void setName(String name)
name
- of the event listenerInteger getOrder()
void setOrder(Integer order)
order
- the Integer order of the event listener.void addEventId(String eventId)
void removeEventId(String eventId)
boolean accepts(String eventId)
If no event ids are set for this listener, returns true.
void handleEvent(CoreEvent coreEvent) throws Exception
coreEvent
-
Exception
void operationStarted(Operation<?> cmd) throws Exception
Exception
void operationTerminated(Operation<?> cmd) throws Exception
Exception
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |