Class EventProperties


  • public class EventProperties
    extends java.lang.Object
    Event properties builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      EventProperties()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EventProperties set​(java.lang.String key, boolean value)
      Set the specified property value with the specified key.
      EventProperties set​(java.lang.String key, double value)
      Set the specified property value with the specified key.
      EventProperties set​(java.lang.String key, long value)
      Set the specified property value with the specified key.
      EventProperties set​(java.lang.String key, java.lang.String value)
      Set the specified property value with the specified key.
      EventProperties set​(java.lang.String key, java.util.Date value)
      Set the specified property value with the specified key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventProperties

        public EventProperties()
    • Method Detail

      • set

        public EventProperties set​(java.lang.String key,
                                   boolean value)
        Set the specified property value with the specified key. If the properties previously contained a property for the key, the old value is replaced.
        Parameters:
        key - key with which the specified value is to be set.
        value - value to be set with the specified key.
        Returns:
        this instance.
      • set

        public EventProperties set​(java.lang.String key,
                                   java.util.Date value)
        Set the specified property value with the specified key. If the properties previously contained a property for the key, the old value is replaced.
        Parameters:
        key - key with which the specified value is to be set.
        value - value to be set with the specified key.
        Returns:
        this instance.
      • set

        public EventProperties set​(java.lang.String key,
                                   double value)
        Set the specified property value with the specified key. If the properties previously contained a property for the key, the old value is replaced.
        Parameters:
        key - key with which the specified value is to be set.
        value - value to be set with the specified key.
        Returns:
        this instance.
      • set

        public EventProperties set​(java.lang.String key,
                                   long value)
        Set the specified property value with the specified key. If the properties previously contained a property for the key, the old value is replaced.
        Parameters:
        key - key with which the specified value is to be set.
        value - value to be set with the specified key.
        Returns:
        this instance.
      • set

        public EventProperties set​(java.lang.String key,
                                   java.lang.String value)
        Set the specified property value with the specified key. If the properties previously contained a property for the key, the old value is replaced.
        Parameters:
        key - key with which the specified value is to be set.
        value - value to be set with the specified key.
        Returns:
        this instance.