Package ubic.gemma.rest.analytics
Interface AnalyticsProvider
-
- All Known Implementing Classes:
GoogleAnalytics4Provider
public interface AnalyticsProvider
Interface for analytics providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
sendEvent(String eventName, String... params)
Publish an event without specifying a date.default void
sendEvent(String eventName, Date date, String... params)
Publish an event with additional parameters expressed as a sequence of keys and values.void
sendEvent(String eventName, Date date, Map<String,String> params)
Publish an event.
-
-
-
Method Detail
-
sendEvent
void sendEvent(String eventName, Date date, Map<String,String> params)
Publish an event.- Parameters:
eventName
- a name for the eventdate
- an exact moment when the event occurredparams
- additional parameters for the event
-
sendEvent
default void sendEvent(String eventName, Date date, String... params)
Publish an event with additional parameters expressed as a sequence of keys and values.- See Also:
sendEvent(String, Date, Map)
-
sendEvent
default void sendEvent(String eventName, String... params)
Publish an event without specifying a date.- See Also:
sendEvent(String, Date, Map)
-
-