public final class CustomEvent extends Event
Modifier and Type | Class and Description |
---|---|
static class |
CustomEvent.CustomType
Custom event types.
|
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) |
getId, getLocation, getRequest, getSessionId, getSourceId, getTimestamp, getType, setLocation, setRequest, setSessionId, setSourceId, setTimestamp
public 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