public final class CustomEvent extends Event
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomEvent.CustomType
Custom event types.
|
Event.Context, Event.Type| Constructor and Description |
|---|
CustomEvent() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes() |
CustomEvent.CustomType |
getCustomType() |
java.lang.String |
getName() |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes) |
void |
setCustomType(CustomEvent.CustomType customType) |
void |
setName(java.lang.String name) |
getContext, getId, getLocation, getSessionId, getSourceId, getTimestamp, getType, setContext, setLocation, setSessionId, setSourceId, setTimestamppublic java.lang.String getName()
public void setName(java.lang.String name)
name - event namepublic CustomEvent.CustomType getCustomType()
public void setCustomType(CustomEvent.CustomType customType)
customType - custom event typepublic java.util.Map<java.lang.String,java.lang.String> getAttributes()
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
attributes - event attributes