-
public class BatchEventDataObject holding data to be associated to an event Keys should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
-
-
Constructor Summary
Constructors Constructor Description BatchEventData()
-
Method Summary
Modifier and Type Method Description BatchEventDataaddTag(String tag)Add a tag BatchEventDataput(String key, String value)Add a string attribute for the specified key BatchEventDataput(String key, URI value)Add an URL attribute for the specified key BatchEventDataput(String key, float value)Add a float attribute for the specified key BatchEventDataput(String key, double value)Add a double attribute for the specified key BatchEventDataput(String key, int value)Add a integer attribute for the specified key BatchEventDataput(String key, long value)Add a long attribute for the specified key BatchEventDataput(String key, boolean value)Add a boolean attribute for the specified key BatchEventDataput(String key, Date value)Add a date attribute for the specified key -
-
Method Detail
-
addTag
BatchEventData addTag(String tag)
Add a tag
- Parameters:
tag- Tag to add.
-
put
BatchEventData put(String key, String value)
Add a string attribute for the specified key
- Parameters:
key- Attribute key.value- String value to add.
-
put
BatchEventData put(String key, URI value)
Add an URL attribute for the specified key
- Parameters:
key- Attribute key.value- URL value to add.
-
put
BatchEventData put(String key, float value)
Add a float attribute for the specified key
- Parameters:
key- Attribute key.value- Float value to add.
-
put
BatchEventData put(String key, double value)
Add a double attribute for the specified key
- Parameters:
key- Attribute key.value- Double value to add.
-
put
BatchEventData put(String key, int value)
Add a integer attribute for the specified key
- Parameters:
key- Attribute key.value- Integer value to add.
-
put
BatchEventData put(String key, long value)
Add a long attribute for the specified key
- Parameters:
key- Attribute key.value- Long value to add.
-
put
BatchEventData put(String key, boolean value)
Add a boolean attribute for the specified key
- Parameters:
key- Attribute key.value- Boolean value to add.
-
put
BatchEventData put(String key, Date value)
Add a date attribute for the specified key
- Parameters:
key- Attribute key.value- Date value to add.
-
-
-
-