io.keen.client.java
Interface GlobalPropertiesEvaluator


public interface GlobalPropertiesEvaluator

An interface to simulate functional programming so that you can tell the KeenClient how to dynamically return Keen Global Properties based on event collection name.

Since:
1.0.0

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getGlobalProperties(java.lang.String eventCollection)
          Gets a Map containing the global properties which should be applied to a new event in the specified collection.
 

Method Detail

getGlobalProperties

java.util.Map<java.lang.String,java.lang.Object> getGlobalProperties(java.lang.String eventCollection)
Gets a Map containing the global properties which should be applied to a new event in the specified collection. This method will be called each time a new event is created.

Parameters:
eventCollection - The name of the collection for which an event is being generated.
Returns:
A Map containing the global properties which should be applied to the event being generated.