public interface HistoricExternalTaskLog
The HistoricExternalTaskLog
is used to have a log containing
information about task
execution. The log provides
details about the last lifecycle state of a task
:
HistoricExternalTaskLog
represents the latest historic
state in the lifecycle of a task
.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.
|
String |
getErrorMessage()
Returns the message of the error that occurred by executing the associated external task.
|
String |
getExecutionId()
Returns the specific execution id on which the associated external task was created.
|
String |
getExternalTaskId()
Returns the id of the associated external task.
|
String |
getId()
Returns the unique identifier for
this historic external task log. |
long |
getPriority()
Returns the priority of the associated external task when
this log entry was created. |
String |
getProcessDefinitionId()
Returns the specific process definition id on which the associated external task was created.
|
String |
getProcessDefinitionKey()
Returns the specific process definition key on which the associated external task was created.
|
String |
getProcessInstanceId()
Returns the specific process instance id on which the associated external task 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 |
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. |
String getId()
this
historic external task log.Date getTimestamp()
this
log occurred.String getExternalTaskId()
Integer getRetries()
this
log occurred.long getPriority()
this
log entry was created.String getTopicName()
String getWorkerId()
String getErrorMessage()
HistoryService.getHistoricExternalTaskLogErrorDetails(String)
String getActivityId()
String getActivityInstanceId()
String getExecutionId()
String getProcessInstanceId()
String getProcessDefinitionId()
String getProcessDefinitionKey()
String getTenantId()
null
if the external task log entry belongs to no single tenant.boolean isCreationLog()
true
when this
log represents
the creation of the associated external task.boolean isFailureLog()
true
when this
log represents
the failed execution of the associated external task.boolean isSuccessLog()
true
when this
log represents
the successful execution of the associated external task.boolean isDeletionLog()
true
when this
log represents
the deletion of the associated external task.Copyright © 2017. All rights reserved.