public class Event extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.EventType |
Constructor and Description |
---|
Event()
default constructor for jackson
|
Event(String key,
String objectType,
Event.EventType type,
Object data)
Create event about change of the object.
|
Event(String taskId,
com.tibco.tea.agent.internal.types.TaskExecutionResponse data)
Create event that notify about changes to the task.
|
Modifier and Type | Method and Description |
---|---|
Object |
getData() |
String |
getKey() |
String |
getObjectType() |
String |
getTaskId() |
Event.EventType |
getType() |
void |
setData(Object data) |
void |
setKey(String key) |
void |
setObjectType(String objectType) |
void |
setTaskId(String taskId) |
void |
setType(Event.EventType type) |
String |
toString() |
public Event()
public Event(String key, String objectType, Event.EventType type, Object data)
key
- object keyobjectType
- object typetype
- event type Event.EventType
data
- data associated with the event, vary depending on the event type.public Event(String taskId, com.tibco.tea.agent.internal.types.TaskExecutionResponse data)
taskId
- task IDdata
- TaskExecutionResponse
public String getTaskId()
public void setTaskId(String taskId)
public Object getData()
public String getKey()
public Event.EventType getType()
public String getObjectType()
public void setData(Object data)
public void setKey(String key)
public void setObjectType(String objectType)
public void setType(Event.EventType type)
Copyright © 2014 Cloud Software Group, Inc.. All Rights Reserved.