Package org.camunda.bpm.engine.history
Interface HistoricExternalTaskLog
-
- All Known Implementing Classes:
HistoricExternalTaskLogEntity
public interface HistoricExternalTaskLogThe
An instance ofHistoricExternalTaskLogis used to have a log containing information abouttaskexecution. The log provides details about the last lifecycle state of atask:HistoricExternalTaskLogrepresents the latest historic state in the lifecycle of atask.- Since:
- 7.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetActivityId()Returns the id of the activity which the external task associated with.StringgetActivityInstanceId()Returns the id of the activity instance on which the associated external task was created.StringgetErrorMessage()Returns the message of the error that occurred by executing the associated external task.StringgetExecutionId()Returns the specific execution id on which the associated external task was created.StringgetExternalTaskId()Returns the id of the associated external task.StringgetId()Returns the unique identifier forthishistoric external task log.longgetPriority()Returns the priority of the associated external task whenthislog entry was created.StringgetProcessDefinitionId()Returns the specific process definition id on which the associated external task was created.StringgetProcessDefinitionKey()Returns the specific process definition key on which the associated external task was created.StringgetProcessInstanceId()Returns the specific process instance id on which the associated external task was created.DategetRemovalTime()The time the historic external task log will be removed.IntegergetRetries()Returns the retries of the associated external task before the associated external task has been executed and whenthislog occurred.StringgetRootProcessInstanceId()Returns the specific root process instance id of the process instance on which the associated external task was created.StringgetTenantId()Returns the id of the tenant this external task log entry belongs to.DategetTimestamp()Returns the time whenthislog occurred.StringgetTopicName()Returns the topic name of the associated external task.StringgetWorkerId()Returns the id of the worker that fetched the external task most recently.booleanisCreationLog()Returnstruewhenthislog represents the creation of the associated external task.booleanisDeletionLog()Returnstruewhenthislog represents the deletion of the associated external task.booleanisFailureLog()Returnstruewhenthislog represents the failed execution of the associated external task.booleanisSuccessLog()Returnstruewhenthislog represents the successful execution of the associated external task.
-
-
-
Method Detail
-
getId
String getId()
Returns the unique identifier forthishistoric external task log.
-
getTimestamp
Date getTimestamp()
Returns the time whenthislog occurred.
-
getExternalTaskId
String getExternalTaskId()
Returns the id of the associated external task.
-
getRetries
Integer getRetries()
Returns the retries of the associated external task before the associated external task has been executed and whenthislog occurred.
-
getPriority
long getPriority()
Returns the priority of the associated external task whenthislog entry was created.
-
getTopicName
String getTopicName()
Returns the topic name of the associated external task.
-
getWorkerId
String getWorkerId()
Returns the id of the worker that fetched the external task most recently.
-
getErrorMessage
String getErrorMessage()
Returns the message of the error that occurred by executing the associated external task. To get the full error details, useHistoryService.getHistoricExternalTaskLogErrorDetails(String)
-
getActivityId
String getActivityId()
Returns the id of the activity which the external task associated with.
-
getActivityInstanceId
String getActivityInstanceId()
Returns the id of the activity instance on which the associated external task was created.
-
getExecutionId
String getExecutionId()
Returns the specific execution id on which the associated external task was created.
-
getRootProcessInstanceId
String getRootProcessInstanceId()
Returns the specific root process instance id of the process instance on which the associated external task was created.
-
getProcessInstanceId
String getProcessInstanceId()
Returns the specific process instance id on which the associated external task was created.
-
getProcessDefinitionId
String getProcessDefinitionId()
Returns the specific process definition id on which the associated external task was created.
-
getProcessDefinitionKey
String getProcessDefinitionKey()
Returns the specific process definition key on which the associated external task was created.
-
getTenantId
String getTenantId()
Returns the id of the tenant this external task log entry belongs to. Can benullif the external task log entry belongs to no single tenant.
-
isCreationLog
boolean isCreationLog()
Returnstruewhenthislog represents the creation of the associated external task.
-
isFailureLog
boolean isFailureLog()
Returnstruewhenthislog represents the failed execution of the associated external task.
-
isSuccessLog
boolean isSuccessLog()
Returnstruewhenthislog represents the successful execution of the associated external task.
-
isDeletionLog
boolean isDeletionLog()
Returnstruewhenthislog represents the deletion of the associated external task.
-
getRemovalTime
Date getRemovalTime()
The time the historic external task log will be removed.
-
-