public class Event<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Event.RawBuilder |
static class |
Event.TypedBuilder<T> |
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
T |
getData() |
String |
getEncryptedData() |
String |
getEventId() |
String |
getEventType() |
static <T> Event.TypedBuilder<T> |
newEvent(Class<T> eventType) |
static Event.RawBuilder |
newEvent(String eventType) |
static <T> Event.TypedBuilder<T> |
newEvent(T data) |
public String getEventId()
public String getEventType()
public T getData()
public String getEncryptedData()
public static Event.RawBuilder newEvent(String eventType)
public static <T> Event.TypedBuilder<T> newEvent(Class<T> eventType)
public static <T> Event.TypedBuilder<T> newEvent(T data)
Copyright © 2019. All rights reserved.