Package io.meeds.gamification.plugin
Class EventPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.gamification.plugin.EventPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
- Direct Known Subclasses:
StreamEventPlugin
public abstract class EventPlugin
extends org.exoplatform.container.component.BaseComponentPlugin
A plugin that will be used by
EventService to check event by its
properties-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
EventPlugin
public EventPlugin()
-
-
Method Details
-
getEventType
- Returns:
- event types that plugin handles
-
getTriggers
- Returns:
- List of available triggers
-
isValidEvent
Check if event properties match properties coming from an external trigger
-