Package io.meeds.gamification.plugin
Class StreamEventPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.gamification.plugin.EventPlugin
io.meeds.gamification.plugin.StreamEventPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
-
Field Summary
FieldsFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidEvent(Map<String, String> eventProperties, String triggerDetails) Check if event properties match properties coming from an external triggerMethods inherited from class io.meeds.gamification.plugin.EventPlugin
getPointsRatioMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
EVENT_TYPE
- See Also:
-
-
Constructor Details
-
StreamEventPlugin
public StreamEventPlugin()
-
-
Method Details
-
getEventType
- Specified by:
getEventTypein classEventPlugin- Returns:
- event types that plugin handles
-
getTriggers
- Specified by:
getTriggersin classEventPlugin- Returns:
- List of available triggers
-
isValidEvent
Description copied from class:EventPluginCheck if event properties match properties coming from an external trigger- Specified by:
isValidEventin classEventPlugin
-