Package knf.hydra.core.models.analytics
Class Analytics.Settings
-
- All Implemented Interfaces:
public final class Analytics.SettingsCustomizable Analytics settings.
-
-
Field Summary
Fields Modifier and Type Field Description private final Analytics.Typetypeprivate final Map<Analytics.Action, Integer>scoresprivate final Function1<Object, Analytics.Event.Info>eventCreator
-
Constructor Summary
Constructors Constructor Description Analytics.Settings(Analytics.Type type, Map<Analytics.Action, Integer> scores, Function1<Object, Analytics.Event.Info> eventCreator)
-
Method Summary
Modifier and Type Method Description final Analytics.TypegetType()The Type of data the main app will process. final Map<Analytics.Action, Integer>getScores()A map of Action with the desired scores to add or remove. final Function1<Object, Analytics.Event.Info>getEventCreator()A factory to convert InfoModel or InfoModel.Tag to Event.Info payload. -
-
Constructor Detail
-
Analytics.Settings
Analytics.Settings(Analytics.Type type, Map<Analytics.Action, Integer> scores, Function1<Object, Analytics.Event.Info> eventCreator)
-
-
Method Detail
-
getType
final Analytics.Type getType()
The Type of data the main app will process.
-
getScores
final Map<Analytics.Action, Integer> getScores()
A map of Action with the desired scores to add or remove.
-
getEventCreator
final Function1<Object, Analytics.Event.Info> getEventCreator()
A factory to convert InfoModel or InfoModel.Tag to Event.Info payload.
-
-
-
-