Class WikiEventService
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.service.event.WikiEventService
Service for managing Wiki AI events and subscriptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatchEvent(WikiEvent event) Dispatch an event to all subscribersSubscribe to wiki events
-
Constructor Details
-
WikiEventService
public WikiEventService()
-
-
Method Details
-
subscribe
Subscribe to wiki events- Parameters:
consumer- the event consumer- Returns:
- an AutoCloseable to unsubscribe
-
dispatchEvent
Dispatch an event to all subscribers- Parameters:
event- the event to dispatch
-