Class HistoricExternalTaskLogEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.HistoryEvent
-
- org.camunda.bpm.engine.impl.history.event.HistoricExternalTaskLogEntity
-
- All Implemented Interfaces:
java.io.Serializable,HistoricExternalTaskLog,DbEntity,HistoricEntity
public class HistoricExternalTaskLogEntity extends HistoryEvent implements HistoricExternalTaskLog
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringactivityIdprotected java.lang.StringactivityInstanceIdprotected java.lang.StringerrorDetailsByteArrayIdprotected java.lang.StringerrorMessageprotected java.lang.StringexternalTaskIdprotected longpriorityprotected java.lang.Integerretriesprotected intstateprotected java.lang.StringtenantIdprotected java.util.Datetimestampprotected java.lang.StringtopicNameprotected java.lang.StringworkerId-
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
Constructors Constructor Description HistoricExternalTaskLogEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActivityId()Returns the id of the activity which the external task associated with.java.lang.StringgetActivityInstanceId()Returns the id of the activity instance on which the associated external task was created.protected ByteArrayEntitygetErrorByteArray()java.lang.StringgetErrorDetails()java.lang.StringgetErrorDetailsByteArrayId()java.lang.StringgetErrorMessage()Returns the message of the error that occurred by executing the associated external task.java.lang.StringgetExternalTaskId()Returns the id of the associated external task.longgetPriority()Returns the priority of the associated external task whenthislog entry was created.java.lang.IntegergetRetries()Returns the retries of the associated external task before the associated external task has been executed and whenthislog occurred.java.lang.StringgetRootProcessInstanceId()Returns the specific root process instance id of the process instance on which the associated external task was created.intgetState()java.lang.StringgetTenantId()Returns the id of the tenant this external task log entry belongs to.java.util.DategetTimestamp()Returns the time whenthislog occurred.java.lang.StringgetTopicName()Returns the topic name of the associated external task.java.lang.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.voidsetActivityId(java.lang.String activityId)voidsetActivityInstanceId(java.lang.String activityInstanceId)voidsetErrorDetails(java.lang.String exception)voidsetErrorDetailsByteArrayId(java.lang.String errorDetailsByteArrayId)voidsetErrorMessage(java.lang.String errorMessage)voidsetExternalTaskId(java.lang.String externalTaskId)voidsetPriority(long priority)voidsetRetries(java.lang.Integer retries)voidsetRootProcessInstanceId(java.lang.String rootProcessInstanceId)voidsetState(int state)voidsetTenantId(java.lang.String tenantId)voidsetTimestamp(java.util.Date timestamp)voidsetTopicName(java.lang.String topicName)voidsetWorkerId(java.lang.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 Detail
-
timestamp
protected java.util.Date timestamp
-
externalTaskId
protected java.lang.String externalTaskId
-
topicName
protected java.lang.String topicName
-
workerId
protected java.lang.String workerId
-
priority
protected long priority
-
retries
protected java.lang.Integer retries
-
errorMessage
protected java.lang.String errorMessage
-
errorDetailsByteArrayId
protected java.lang.String errorDetailsByteArrayId
-
activityId
protected java.lang.String activityId
-
activityInstanceId
protected java.lang.String activityInstanceId
-
tenantId
protected java.lang.String tenantId
-
state
protected int state
-
-
Method Detail
-
getTimestamp
public java.util.Date getTimestamp()
Description copied from interface:HistoricExternalTaskLogReturns the time whenthislog occurred.- Specified by:
getTimestampin interfaceHistoricExternalTaskLog
-
setTimestamp
public void setTimestamp(java.util.Date timestamp)
-
getExternalTaskId
public java.lang.String getExternalTaskId()
Description copied from interface:HistoricExternalTaskLogReturns the id of the associated external task.- Specified by:
getExternalTaskIdin interfaceHistoricExternalTaskLog
-
setExternalTaskId
public void setExternalTaskId(java.lang.String externalTaskId)
-
getTopicName
public java.lang.String getTopicName()
Description copied from interface:HistoricExternalTaskLogReturns the topic name of the associated external task.- Specified by:
getTopicNamein interfaceHistoricExternalTaskLog
-
setTopicName
public void setTopicName(java.lang.String topicName)
-
getWorkerId
public java.lang.String getWorkerId()
Description copied from interface:HistoricExternalTaskLogReturns the id of the worker that fetched the external task most recently.- Specified by:
getWorkerIdin interfaceHistoricExternalTaskLog
-
setWorkerId
public void setWorkerId(java.lang.String workerId)
-
getRetries
public java.lang.Integer getRetries()
Description copied from interface:HistoricExternalTaskLogReturns the retries of the associated external task before the associated external task has been executed and whenthislog occurred.- Specified by:
getRetriesin interfaceHistoricExternalTaskLog
-
setRetries
public void setRetries(java.lang.Integer retries)
-
getErrorMessage
public java.lang.String getErrorMessage()
Description copied from interface:HistoricExternalTaskLogReturns the message of the error that occurred by executing the associated external task. To get the full error details, useHistoryService.getHistoricExternalTaskLogErrorDetails(String)- Specified by:
getErrorMessagein interfaceHistoricExternalTaskLog
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
-
getErrorDetailsByteArrayId
public java.lang.String getErrorDetailsByteArrayId()
-
setErrorDetailsByteArrayId
public void setErrorDetailsByteArrayId(java.lang.String errorDetailsByteArrayId)
-
getErrorDetails
public java.lang.String getErrorDetails()
-
setErrorDetails
public void setErrorDetails(java.lang.String exception)
-
getErrorByteArray
protected ByteArrayEntity getErrorByteArray()
-
getActivityId
public java.lang.String getActivityId()
Description copied from interface:HistoricExternalTaskLogReturns the id of the activity which the external task associated with.- Specified by:
getActivityIdin interfaceHistoricExternalTaskLog
-
setActivityId
public void setActivityId(java.lang.String activityId)
-
getActivityInstanceId
public java.lang.String getActivityInstanceId()
Description copied from interface:HistoricExternalTaskLogReturns the id of the activity instance on which the associated external task was created.- Specified by:
getActivityInstanceIdin interfaceHistoricExternalTaskLog
-
setActivityInstanceId
public void setActivityInstanceId(java.lang.String activityInstanceId)
-
getTenantId
public java.lang.String getTenantId()
Description copied from interface:HistoricExternalTaskLogReturns the id of the tenant this external task log entry belongs to. Can benullif the external task log entry belongs to no single tenant.- Specified by:
getTenantIdin interfaceHistoricExternalTaskLog
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
getPriority
public long getPriority()
Description copied from interface:HistoricExternalTaskLogReturns the priority of the associated external task whenthislog entry was created.- Specified by:
getPriorityin 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:HistoricExternalTaskLogReturnstruewhenthislog represents the creation of the associated external task.- Specified by:
isCreationLogin interfaceHistoricExternalTaskLog
-
isFailureLog
public boolean isFailureLog()
Description copied from interface:HistoricExternalTaskLogReturnstruewhenthislog represents the failed execution of the associated external task.- Specified by:
isFailureLogin interfaceHistoricExternalTaskLog
-
isSuccessLog
public boolean isSuccessLog()
Description copied from interface:HistoricExternalTaskLogReturnstruewhenthislog represents the successful execution of the associated external task.- Specified by:
isSuccessLogin interfaceHistoricExternalTaskLog
-
isDeletionLog
public boolean isDeletionLog()
Description copied from interface:HistoricExternalTaskLogReturnstruewhenthislog represents the deletion of the associated external task.- Specified by:
isDeletionLogin interfaceHistoricExternalTaskLog
-
getRootProcessInstanceId
public java.lang.String getRootProcessInstanceId()
Description copied from interface:HistoricExternalTaskLogReturns the specific root process instance id of the process instance on which the associated external task was created.- Specified by:
getRootProcessInstanceIdin interfaceHistoricExternalTaskLog- Overrides:
getRootProcessInstanceIdin classHistoryEvent
-
setRootProcessInstanceId
public void setRootProcessInstanceId(java.lang.String rootProcessInstanceId)
- Overrides:
setRootProcessInstanceIdin classHistoryEvent
-
-