Class HistoricExternalTaskLogEntity
java.lang.Object
org.camunda.bpm.engine.impl.history.event.HistoryEvent
org.camunda.bpm.engine.impl.history.event.HistoricExternalTaskLogEntity
- All Implemented Interfaces:
Serializable
,HistoricExternalTaskLog
,DbEntity
,HistoricEntity
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected long
protected Integer
protected int
protected String
protected Date
protected String
protected String
Fields inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the activity which the external task associated with.Returns the id of the activity instance on which the associated external task was created.protected ByteArrayEntity
Returns the message of the error that occurred by executing the associated external task.Returns the id of the associated external task.long
Returns the priority of the associated external task whenthis
log entry was created.Returns the retries of the associated external task before the associated external task has been executed and whenthis
log occurred.Returns the specific root process instance id of the process instance on which the associated external task was created.int
getState()
Returns the id of the tenant this external task log entry belongs to.Returns the time whenthis
log occurred.Returns the topic name of the associated external task.Returns the id of the worker that fetched the external task most recently.boolean
Returnstrue
whenthis
log represents the creation of the associated external task.boolean
Returnstrue
whenthis
log represents the deletion of the associated external task.boolean
Returnstrue
whenthis
log represents the failed execution of the associated external task.boolean
Returnstrue
whenthis
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) Methods inherited from class org.camunda.bpm.engine.impl.history.event.HistoryEvent
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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.history.HistoricExternalTaskLog
getExecutionId, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessInstanceId, getRemovalTime
-
Field Details
-
timestamp
-
externalTaskId
-
topicName
-
workerId
-
priority
protected long priority -
retries
-
errorMessage
-
errorDetailsByteArrayId
-
activityId
-
activityInstanceId
-
tenantId
-
state
protected int state
-
-
Constructor Details
-
HistoricExternalTaskLogEntity
public HistoricExternalTaskLogEntity()
-
-
Method Details
-
getTimestamp
Description copied from interface:HistoricExternalTaskLog
Returns the time whenthis
log occurred.- Specified by:
getTimestamp
in interfaceHistoricExternalTaskLog
-
setTimestamp
-
getExternalTaskId
Description copied from interface:HistoricExternalTaskLog
Returns the id of the associated external task.- Specified by:
getExternalTaskId
in interfaceHistoricExternalTaskLog
-
setExternalTaskId
-
getTopicName
Description copied from interface:HistoricExternalTaskLog
Returns the topic name of the associated external task.- Specified by:
getTopicName
in interfaceHistoricExternalTaskLog
-
setTopicName
-
getWorkerId
Description copied from interface:HistoricExternalTaskLog
Returns the id of the worker that fetched the external task most recently.- Specified by:
getWorkerId
in interfaceHistoricExternalTaskLog
-
setWorkerId
-
getRetries
Description copied from interface:HistoricExternalTaskLog
Returns the retries of the associated external task before the associated external task has been executed and whenthis
log occurred.- Specified by:
getRetries
in interfaceHistoricExternalTaskLog
-
setRetries
-
getErrorMessage
Description copied from interface:HistoricExternalTaskLog
Returns the message of the error that occurred by executing the associated external task. To get the full error details, useHistoryService.getHistoricExternalTaskLogErrorDetails(String)
- Specified by:
getErrorMessage
in interfaceHistoricExternalTaskLog
-
setErrorMessage
-
getErrorDetailsByteArrayId
-
setErrorDetailsByteArrayId
-
getErrorDetails
-
setErrorDetails
-
getErrorByteArray
-
getActivityId
Description copied from interface:HistoricExternalTaskLog
Returns the id of the activity which the external task associated with.- Specified by:
getActivityId
in interfaceHistoricExternalTaskLog
-
setActivityId
-
getActivityInstanceId
Description copied from interface:HistoricExternalTaskLog
Returns the id of the activity instance on which the associated external task was created.- Specified by:
getActivityInstanceId
in interfaceHistoricExternalTaskLog
-
setActivityInstanceId
-
getTenantId
Description copied from interface:HistoricExternalTaskLog
Returns the id of the tenant this external task log entry belongs to. Can benull
if the external task log entry belongs to no single tenant.- Specified by:
getTenantId
in interfaceHistoricExternalTaskLog
-
setTenantId
-
getPriority
public long getPriority()Description copied from interface:HistoricExternalTaskLog
Returns the priority of the associated external task whenthis
log entry was created.- Specified by:
getPriority
in interfaceHistoricExternalTaskLog
-
setPriority
public void setPriority(long priority) -
getState
public int getState() -
setState
public void setState(int state) -
isCreationLog
public boolean isCreationLog()Description copied from interface:HistoricExternalTaskLog
Returnstrue
whenthis
log represents the creation of the associated external task.- Specified by:
isCreationLog
in interfaceHistoricExternalTaskLog
-
isFailureLog
public boolean isFailureLog()Description copied from interface:HistoricExternalTaskLog
Returnstrue
whenthis
log represents the failed execution of the associated external task.- Specified by:
isFailureLog
in interfaceHistoricExternalTaskLog
-
isSuccessLog
public boolean isSuccessLog()Description copied from interface:HistoricExternalTaskLog
Returnstrue
whenthis
log represents the successful execution of the associated external task.- Specified by:
isSuccessLog
in interfaceHistoricExternalTaskLog
-
isDeletionLog
public boolean isDeletionLog()Description copied from interface:HistoricExternalTaskLog
Returnstrue
whenthis
log represents the deletion of the associated external task.- Specified by:
isDeletionLog
in interfaceHistoricExternalTaskLog
-
getRootProcessInstanceId
Description copied from interface:HistoricExternalTaskLog
Returns the specific root process instance id of the process instance on which the associated external task was created.- Specified by:
getRootProcessInstanceId
in interfaceHistoricExternalTaskLog
- Overrides:
getRootProcessInstanceId
in classHistoryEvent
-
setRootProcessInstanceId
- Overrides:
setRootProcessInstanceId
in classHistoryEvent
-