Class TaskHistoryEvent
- java.lang.Object
-
- pro.taskana.spi.history.api.events.task.TaskHistoryEvent
-
- Direct Known Subclasses:
TaskCancelledEvent,TaskClaimCancelledEvent,TaskClaimedEvent,TaskCompletedEvent,TaskCreatedEvent,TaskRequestChangesEvent,TaskRequestReviewEvent,TaskTerminatedEvent,TaskTransferredEvent,TaskUpdatedEvent
public class TaskHistoryEvent extends Object
Super class for all task related events.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringattachmentClassificationKeyprotected StringbusinessProcessIdprotected Instantcreatedprotected Stringcustom1protected Stringcustom2protected Stringcustom3protected Stringcustom4protected Stringdetailsprotected Stringdomainprotected StringeventTypeprotected Stringidprotected StringnewValueprotected StringoldValueprotected StringparentBusinessProcessIdprotected StringporCompanyprotected StringporInstanceprotected StringporSystemprotected StringporTypeprotected StringporValueprotected StringtaskClassificationCategoryprotected StringtaskClassificationKeyprotected StringtaskIdprotected StringtaskOwnerLongNameprotected StringuserIdprotected StringuserLongNameprotected StringworkbasketKey
-
Constructor Summary
Constructors Constructor Description TaskHistoryEvent()TaskHistoryEvent(String id, TaskSummary task, String userId, String details)
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
businessProcessId
protected String businessProcessId
-
parentBusinessProcessId
protected String parentBusinessProcessId
-
taskId
protected String taskId
-
eventType
protected String eventType
-
created
protected Instant created
-
userId
protected String userId
-
userLongName
protected String userLongName
-
domain
protected String domain
-
workbasketKey
protected String workbasketKey
-
porCompany
protected String porCompany
-
porSystem
protected String porSystem
-
porInstance
protected String porInstance
-
porType
protected String porType
-
porValue
protected String porValue
-
taskOwnerLongName
protected String taskOwnerLongName
-
taskClassificationKey
protected String taskClassificationKey
-
taskClassificationCategory
protected String taskClassificationCategory
-
attachmentClassificationKey
protected String attachmentClassificationKey
-
oldValue
protected String oldValue
-
newValue
protected String newValue
-
custom1
protected String custom1
-
custom2
protected String custom2
-
custom3
protected String custom3
-
custom4
protected String custom4
-
details
protected String details
-
-
Constructor Detail
-
TaskHistoryEvent
public TaskHistoryEvent()
-
TaskHistoryEvent
public TaskHistoryEvent(String id, TaskSummary task, String userId, String details)
-
-
Method Detail
-
setCustomAttribute
public void setCustomAttribute(TaskHistoryCustomField customField, String value)
-
getCustomAttribute
public String getCustomAttribute(TaskHistoryCustomField customField)
-
getBusinessProcessId
public String getBusinessProcessId()
-
setBusinessProcessId
public void setBusinessProcessId(String businessProcessId)
-
getParentBusinessProcessId
public String getParentBusinessProcessId()
-
setParentBusinessProcessId
public void setParentBusinessProcessId(String parentBusinessProcessId)
-
getTaskId
public String getTaskId()
-
setTaskId
public void setTaskId(String taskId)
-
getDomain
public String getDomain()
-
setDomain
public void setDomain(String domain)
-
getWorkbasketKey
public String getWorkbasketKey()
-
setWorkbasketKey
public void setWorkbasketKey(String workbasketKey)
-
getPorCompany
public String getPorCompany()
-
setPorCompany
public void setPorCompany(String porCompany)
-
getPorSystem
public String getPorSystem()
-
setPorSystem
public void setPorSystem(String porSystem)
-
getPorInstance
public String getPorInstance()
-
setPorInstance
public void setPorInstance(String porInstance)
-
getPorType
public String getPorType()
-
setPorType
public void setPorType(String porType)
-
getPorValue
public String getPorValue()
-
setPorValue
public void setPorValue(String porValue)
-
getTaskOwnerLongName
public String getTaskOwnerLongName()
-
setTaskOwnerLongName
public void setTaskOwnerLongName(String taskOwnerLongName)
-
getTaskClassificationKey
public String getTaskClassificationKey()
-
setTaskClassificationKey
public void setTaskClassificationKey(String taskClassificationKey)
-
getTaskClassificationCategory
public String getTaskClassificationCategory()
-
setTaskClassificationCategory
public void setTaskClassificationCategory(String taskClassificationCategory)
-
getAttachmentClassificationKey
public String getAttachmentClassificationKey()
-
setAttachmentClassificationKey
public void setAttachmentClassificationKey(String attachmentClassificationKey)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getEventType
public String getEventType()
-
setEventType
public void setEventType(String eventType)
-
getCreated
public Instant getCreated()
-
setCreated
public void setCreated(Instant created)
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getUserLongName
public String getUserLongName()
-
setUserLongName
public void setUserLongName(String userLongName)
-
getOldValue
public String getOldValue()
-
setOldValue
public void setOldValue(String oldValue)
-
getNewValue
public String getNewValue()
-
setNewValue
public void setNewValue(String newValue)
-
getDetails
public String getDetails()
-
setDetails
public void setDetails(String details)
-
-