public class SelfDescribing extends AbstractEvent
Modifier and Type | Class and Description |
---|---|
static class |
SelfDescribing.Builder<T extends SelfDescribing.Builder<T>> |
context, subject, trueTimestamp
Modifier | Constructor and Description |
---|---|
protected |
SelfDescribing(SelfDescribing.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
static SelfDescribing.Builder<?> |
builder() |
boolean |
equals(java.lang.Object o) |
TrackerPayload |
getPayload()
Returns a TrackerPayload which can be passed to an Emitter.
|
int |
hashCode() |
void |
setBase64Encode(boolean base64Encode) |
getContext, getSubject, getTrueTimestamp, putTrueTimestamp
protected SelfDescribing(SelfDescribing.Builder<?> builder)
public static SelfDescribing.Builder<?> builder()
public void setBase64Encode(boolean base64Encode)
base64Encode
- whether to base64Encode the event datapublic TrackerPayload getPayload()
getPayload
in interface Event
getPayload
in class AbstractEvent
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object