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 |
data() |
String |
encryptedData() |
String |
eventId() |
String |
eventType() |
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 eventId()
public String eventType()
public T data()
public String encryptedData()
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 © 2021. All rights reserved.