Class HistoricExternalTaskLogEntity
java.lang.Object
org.cibseven.bpm.engine.impl.history.event.HistoryEvent
org.cibseven.bpm.engine.impl.history.event.HistoricExternalTaskLogEntity
- All Implemented Interfaces:
Serializable,HistoricExternalTaskLog,DbEntity,HistoricEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected longprotected Integerprotected intprotected Stringprotected Dateprotected Stringprotected StringFields inherited from class org.cibseven.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 -
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 ByteArrayEntityReturns the message of the error that occurred by executing the associated external task.Returns the id of the associated external task.longReturns the priority of the associated external task whenthislog entry was created.Returns the retries of the associated external task before the associated external task has been executed and whenthislog occurred.Returns the specific root process instance id of the process instance on which the associated external task was created.intgetState()Returns the id of the tenant this external task log entry belongs to.Returns the time whenthislog occurred.Returns the topic name of the associated external task.Returns the id of the worker that fetched the external task most recently.booleanReturnstruewhenthislog represents the creation of the associated external task.booleanReturnstruewhenthislog represents the deletion of the associated external task.booleanReturnstruewhenthislog represents the failed execution of the associated external task.booleanReturnstruewhenthislog represents the successful execution of the associated external task.voidsetActivityId(String activityId) voidsetActivityInstanceId(String activityInstanceId) voidsetErrorDetails(String exception) voidsetErrorDetailsByteArrayId(String errorDetailsByteArrayId) voidsetErrorMessage(String errorMessage) voidsetExternalTaskId(String externalTaskId) voidsetPriority(long priority) voidsetRetries(Integer retries) voidsetRootProcessInstanceId(String rootProcessInstanceId) voidsetState(int state) voidsetTenantId(String tenantId) voidsetTimestamp(Date timestamp) voidsetTopicName(String topicName) voidsetWorkerId(String workerId) Methods inherited from class org.cibseven.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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cibseven.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:HistoricExternalTaskLogReturns the time whenthislog occurred.- Specified by:
getTimestampin interfaceHistoricExternalTaskLog
-
setTimestamp
-
getExternalTaskId
Description copied from interface:HistoricExternalTaskLogReturns the id of the associated external task.- Specified by:
getExternalTaskIdin interfaceHistoricExternalTaskLog
-
setExternalTaskId
-
getTopicName
Description copied from interface:HistoricExternalTaskLogReturns the topic name of the associated external task.- Specified by:
getTopicNamein interfaceHistoricExternalTaskLog
-
setTopicName
-
getWorkerId
Description copied from interface:HistoricExternalTaskLogReturns the id of the worker that fetched the external task most recently.- Specified by:
getWorkerIdin interfaceHistoricExternalTaskLog
-
setWorkerId
-
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
-
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
-
getErrorDetailsByteArrayId
-
setErrorDetailsByteArrayId
-
getErrorDetails
-
setErrorDetails
-
getErrorByteArray
-
getActivityId
Description copied from interface:HistoricExternalTaskLogReturns the id of the activity which the external task associated with.- Specified by:
getActivityIdin interfaceHistoricExternalTaskLog
-
setActivityId
-
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
-
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
-
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
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
- Overrides:
setRootProcessInstanceIdin classHistoryEvent
-