|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.history.event.HistoryEvent
org.camunda.bpm.engine.impl.history.event.HistoricExternalTaskLogEntity
public class HistoricExternalTaskLogEntity
| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
HistoricExternalTaskLogEntity()
|
|
| Method Summary | |
|---|---|
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)
|
| 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 |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public HistoricExternalTaskLogEntity()
| Method Detail |
|---|
public Date getTimestamp()
HistoricExternalTaskLogthis log occurred.
getTimestamp in interface HistoricExternalTaskLogpublic void setTimestamp(Date timestamp)
public String getExternalTaskId()
HistoricExternalTaskLog
getExternalTaskId in interface HistoricExternalTaskLogpublic void setExternalTaskId(String externalTaskId)
public String getTopicName()
HistoricExternalTaskLog
getTopicName in interface HistoricExternalTaskLogpublic void setTopicName(String topicName)
public String getWorkerId()
HistoricExternalTaskLog
getWorkerId 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()
HistoricExternalTaskLog
getActivityId in interface HistoricExternalTaskLogpublic void setActivityId(String activityId)
public String getActivityInstanceId()
HistoricExternalTaskLog
getActivityInstanceId 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 HistoricExternalTaskLog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||