public class HistoricExternalTaskLogEntity extends HistoryEvent implements HistoricExternalTaskLog
| Modifier and Type | Field and Description |
|---|---|
protected String |
activityId |
protected String |
activityInstanceId |
protected String |
errorDetailsByteArrayId |
protected String |
errorMessage |
protected String |
externalTaskId |
protected long |
priority |
protected Integer |
retries |
protected int |
state |
protected String |
tenantId |
protected Date |
timestamp |
protected String |
topicName |
protected String |
workerId |
ACTIVITY_EVENT_TYPE_END, ACTIVITY_EVENT_TYPE_START, ACTIVITY_EVENT_TYPE_UPDATE, caseDefinitionId, caseDefinitionKey, caseDefinitionName, caseExecutionId, caseInstanceId, eventType, executionId, FORM_PROPERTY_UPDATE, id, IDENTITY_LINK_ADD, IDENTITY_LINK_DELETE, INCIDENT_CREATE, INCIDENT_DELETE, INCIDENT_RESOLVE, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, removalTime, rootProcessInstanceId, sequenceCounter, TASK_EVENT_TYPE_COMPLETE, TASK_EVENT_TYPE_CREATE, TASK_EVENT_TYPE_DELETE, TASK_EVENT_TYPE_UPDATE, VARIABLE_EVENT_TYPE_CREATE, VARIABLE_EVENT_TYPE_DELETE, VARIABLE_EVENT_TYPE_UPDATE| Constructor and Description |
|---|
HistoricExternalTaskLogEntity() |
| Modifier and Type | Method and Description |
|---|---|
String |
getActivityId()
Returns the id of the activity which the external task associated with.
|
String |
getActivityInstanceId()
Returns the id of the activity instance on which the associated external task was created.
|
protected ByteArrayEntity |
getErrorByteArray() |
String |
getErrorDetails() |
String |
getErrorDetailsByteArrayId() |
String |
getErrorMessage()
Returns the message of the error that occurred by executing the associated external task.
|
String |
getExternalTaskId()
Returns the id of the associated external task.
|
long |
getPriority()
Returns the priority of the associated external task when
this log entry was created. |
Integer |
getRetries()
Returns the retries of the associated external task before the associated external task has
been executed and when
this log occurred. |
String |
getRootProcessInstanceId()
Returns the specific root process instance id of the process instance
on which the associated external task was created.
|
int |
getState() |
String |
getTenantId()
Returns the id of the tenant this external task log entry belongs to.
|
Date |
getTimestamp()
Returns the time when
this log occurred. |
String |
getTopicName()
Returns the topic name of the associated external task.
|
String |
getWorkerId()
Returns the id of the worker that fetched the external task most recently.
|
boolean |
isCreationLog()
Returns
true when this log represents
the creation of the associated external task. |
boolean |
isDeletionLog()
Returns
true when this log represents
the deletion of the associated external task. |
boolean |
isFailureLog()
Returns
true when this log represents
the failed execution of the associated external task. |
boolean |
isSuccessLog()
Returns
true when this log represents
the successful execution of the associated external task. |
void |
setActivityId(String activityId) |
void |
setActivityInstanceId(String activityInstanceId) |
void |
setErrorDetails(String exception) |
void |
setErrorDetailsByteArrayId(String errorDetailsByteArrayId) |
void |
setErrorMessage(String errorMessage) |
void |
setExternalTaskId(String externalTaskId) |
void |
setPriority(long priority) |
void |
setRetries(Integer retries) |
void |
setRootProcessInstanceId(String rootProcessInstanceId) |
void |
setState(int state) |
void |
setTenantId(String tenantId) |
void |
setTimestamp(Date timestamp) |
void |
setTopicName(String topicName) |
void |
setWorkerId(String workerId) |
getCaseDefinitionId, getCaseDefinitionKey, getCaseDefinitionName, getCaseExecutionId, getCaseInstanceId, getEventType, getExecutionId, getId, getPersistentState, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getRemovalTime, getSequenceCounter, isEventOfType, setCaseDefinitionId, setCaseDefinitionKey, setCaseDefinitionName, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setRemovalTime, setSequenceCounter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExecutionId, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessInstanceId, getRemovalTimeprotected Date timestamp
protected String externalTaskId
protected String topicName
protected String workerId
protected long priority
protected Integer retries
protected String errorMessage
protected String errorDetailsByteArrayId
protected String activityId
protected String activityInstanceId
protected String tenantId
protected int state
public Date getTimestamp()
HistoricExternalTaskLogthis log occurred.getTimestamp in interface HistoricExternalTaskLogpublic void setTimestamp(Date timestamp)
public String getExternalTaskId()
HistoricExternalTaskLoggetExternalTaskId in interface HistoricExternalTaskLogpublic void setExternalTaskId(String externalTaskId)
public String getTopicName()
HistoricExternalTaskLoggetTopicName in interface HistoricExternalTaskLogpublic void setTopicName(String topicName)
public String getWorkerId()
HistoricExternalTaskLoggetWorkerId in interface HistoricExternalTaskLogpublic void setWorkerId(String workerId)
public Integer getRetries()
HistoricExternalTaskLogthis log occurred.getRetries in interface HistoricExternalTaskLogpublic void setRetries(Integer retries)
public String getErrorMessage()
HistoricExternalTaskLogHistoryService.getHistoricExternalTaskLogErrorDetails(String)getErrorMessage in interface HistoricExternalTaskLogpublic void setErrorMessage(String errorMessage)
public String getErrorDetailsByteArrayId()
public void setErrorDetailsByteArrayId(String errorDetailsByteArrayId)
public String getErrorDetails()
public void setErrorDetails(String exception)
protected ByteArrayEntity getErrorByteArray()
public String getActivityId()
HistoricExternalTaskLoggetActivityId in interface HistoricExternalTaskLogpublic void setActivityId(String activityId)
public String getActivityInstanceId()
HistoricExternalTaskLoggetActivityInstanceId in interface HistoricExternalTaskLogpublic void setActivityInstanceId(String activityInstanceId)
public String getTenantId()
HistoricExternalTaskLognull
if the external task log entry belongs to no single tenant.getTenantId in interface HistoricExternalTaskLogpublic void setTenantId(String tenantId)
public long getPriority()
HistoricExternalTaskLogthis log entry was created.getPriority in interface HistoricExternalTaskLogpublic void setPriority(long priority)
public int getState()
public void setState(int state)
public boolean isCreationLog()
HistoricExternalTaskLogtrue when this log represents
the creation of the associated external task.isCreationLog in interface HistoricExternalTaskLogpublic boolean isFailureLog()
HistoricExternalTaskLogtrue when this log represents
the failed execution of the associated external task.isFailureLog in interface HistoricExternalTaskLogpublic boolean isSuccessLog()
HistoricExternalTaskLogtrue when this log represents
the successful execution of the associated external task.isSuccessLog in interface HistoricExternalTaskLogpublic boolean isDeletionLog()
HistoricExternalTaskLogtrue when this log represents
the deletion of the associated external task.isDeletionLog in interface HistoricExternalTaskLogpublic String getRootProcessInstanceId()
HistoricExternalTaskLoggetRootProcessInstanceId in interface HistoricExternalTaskLoggetRootProcessInstanceId in class HistoryEventpublic void setRootProcessInstanceId(String rootProcessInstanceId)
setRootProcessInstanceId in class HistoryEventCopyright © 2013–2020 camunda services GmbH. All rights reserved.