public class Event extends Object implements Serializable
| Constructor and Description |
|---|
Event()
Instantiates a new event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Gets the content.
|
Map<String,String> |
getCustomInfo()
Gets the custom info.
|
EventTypeEnum |
getEventType()
Gets the event type.
|
MessageInfo |
getMessageInfo()
Gets the message info.
|
Originator |
getOriginator()
Gets the originator.
|
Long |
getPersistedId()
Gets the persisted id.
|
Date |
getTimestamp()
Gets the timestamp.
|
boolean |
isContentCut()
Checks if is content cut.
|
void |
setContent(String content)
Sets the content.
|
void |
setContentCut(boolean contentCut)
Sets the content cut.
|
void |
setEventType(EventTypeEnum eventType)
Sets the event type.
|
void |
setMessageInfo(MessageInfo messageInfo)
Sets the message info.
|
void |
setOriginator(Originator originator)
Sets the originator.
|
void |
setPersistedId(Long persistedId)
Sets the persisted id.
|
void |
setTimestamp(Date timestamp)
Sets the timestamp.
|
String |
toString() |
public Long getPersistedId()
public void setPersistedId(Long persistedId)
persistedId - the new persisted idpublic Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp - the new timestamppublic EventTypeEnum getEventType()
public void setEventType(EventTypeEnum eventType)
eventType - the new event typepublic Originator getOriginator()
public void setOriginator(Originator originator)
originator - the new originatorpublic MessageInfo getMessageInfo()
public void setMessageInfo(MessageInfo messageInfo)
messageInfo - the new message infopublic void setContentCut(boolean contentCut)
contentCut - the new content cutpublic boolean isContentCut()
public String getContent()
public void setContent(String content)
content - the new contentpublic Map<String,String> getCustomInfo()
Copyright © 2011–2015 Talend Inc.. All rights reserved.