Package io.meeds.gamification.service
Interface EventRegistry
- All Known Implementing Classes:
EventRegistryImpl
public interface EventRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlugin(EventConfigPlugin eventConfigPlugin) Add a newEventConfigPluginfor a given trigger namegetTrigger(String triggerType, String triggerName) Gets a configured triggers by type and namegetTriggers(String connectorName) Gets a all configured triggers by typebooleanremove(EventConfigPlugin eventConfigPlugin) Removes aEventConfigPlugin
-
Method Details
-
addPlugin
Add a newEventConfigPluginfor a given trigger name- Parameters:
eventConfigPlugin-EventConfigPlugin
-
remove
Removes aEventConfigPlugin- Parameters:
eventConfigPlugin-EventConfigPlugin
-
getTrigger
Gets a configured triggers by type and name- Parameters:
triggerType- trigger typetriggerName- trigger name- Returns:
Trigger
-
getTriggers
Gets a all configured triggers by type
-