Class EventRegistryImpl
java.lang.Object
io.meeds.gamification.service.impl.EventRegistryImpl
- All Implemented Interfaces:
EventRegistry,org.picocontainer.Startable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(EventConfigPlugin eventConfigPlugin) Add a newEventConfigPluginfor a given trigger namegetTriggers(String connectorName) Gets a all configured triggers by typebooleanremove(EventConfigPlugin eventConfigPlugin) Removes aEventConfigPluginvoidstart()voidstop()
-
Constructor Details
-
EventRegistryImpl
public EventRegistryImpl()
-
-
Method Details
-
addPlugin
Description copied from interface:EventRegistryAdd a newEventConfigPluginfor a given trigger name- Specified by:
addPluginin interfaceEventRegistry- Parameters:
eventConfigPlugin-EventConfigPlugin
-
remove
Description copied from interface:EventRegistryRemoves aEventConfigPlugin- Specified by:
removein interfaceEventRegistry- Parameters:
eventConfigPlugin-EventConfigPlugin
-
getTriggers
Description copied from interface:EventRegistryGets a all configured triggers by type- Specified by:
getTriggersin interfaceEventRegistry- Parameters:
connectorName- connector name- Returns:
ListofTrigger
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-