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, 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. |
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 |
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, getSequenceCounter, isEventOfType, setCaseDefinitionId, setCaseDefinitionKey, setCaseDefinitionName, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setSequenceCounter, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExecutionId, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessInstanceId
protected 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()
HistoricExternalTaskLog
this
log occurred.getTimestamp
in interface HistoricExternalTaskLog
public void setTimestamp(Date timestamp)
public String getExternalTaskId()
HistoricExternalTaskLog
getExternalTaskId
in interface HistoricExternalTaskLog
public void setExternalTaskId(String externalTaskId)
public String getTopicName()
HistoricExternalTaskLog
getTopicName
in interface HistoricExternalTaskLog
public void setTopicName(String topicName)
public String getWorkerId()
HistoricExternalTaskLog
getWorkerId
in interface HistoricExternalTaskLog
public void setWorkerId(String workerId)
public Integer getRetries()
HistoricExternalTaskLog
this
log occurred.getRetries
in interface HistoricExternalTaskLog
public void setRetries(Integer retries)
public String getErrorMessage()
HistoricExternalTaskLog
HistoryService.getHistoricExternalTaskLogErrorDetails(String)
getErrorMessage
in interface HistoricExternalTaskLog
public 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()
HistoricExternalTaskLog
getActivityId
in interface HistoricExternalTaskLog
public void setActivityId(String activityId)
public String getActivityInstanceId()
HistoricExternalTaskLog
getActivityInstanceId
in interface HistoricExternalTaskLog
public void setActivityInstanceId(String activityInstanceId)
public String getTenantId()
HistoricExternalTaskLog
null
if the external task log entry belongs to no single tenant.getTenantId
in interface HistoricExternalTaskLog
public void setTenantId(String tenantId)
public long getPriority()
HistoricExternalTaskLog
this
log entry was created.getPriority
in interface HistoricExternalTaskLog
public void setPriority(long priority)
public int getState()
public void setState(int state)
public boolean isCreationLog()
HistoricExternalTaskLog
true
when this
log represents
the creation of the associated external task.isCreationLog
in interface HistoricExternalTaskLog
public boolean isFailureLog()
HistoricExternalTaskLog
true
when this
log represents
the failed execution of the associated external task.isFailureLog
in interface HistoricExternalTaskLog
public boolean isSuccessLog()
HistoricExternalTaskLog
true
when this
log represents
the successful execution of the associated external task.isSuccessLog
in interface HistoricExternalTaskLog
public boolean isDeletionLog()
HistoricExternalTaskLog
true
when this
log represents
the deletion of the associated external task.isDeletionLog
in interface HistoricExternalTaskLog
Copyright © 2019. All rights reserved.