Interface Job
- All Known Implementing Classes:
JobImpl
public interface Job
-
Method Details
-
getJobKey
Long getJobKey() -
getType
String getType() -
getWorker
String getWorker() -
getState
JobState getState() -
getKind
JobKind getKind() -
getListenerEventType
ListenerEventType getListenerEventType() -
getRetries
Integer getRetries() -
getPriority
Integer getPriority() -
isDenied
Boolean isDenied() -
getDeniedReason
String getDeniedReason() -
hasFailedWithRetriesLeft
Boolean hasFailedWithRetriesLeft() -
getErrorCode
String getErrorCode() -
getErrorMessage
String getErrorMessage() -
getCustomerHeaders
-
getDeadline
OffsetDateTime getDeadline() -
getEndTime
OffsetDateTime getEndTime() -
getProcessDefinitionId
String getProcessDefinitionId() -
getProcessDefinitionKey
Long getProcessDefinitionKey() -
getProcessInstanceKey
Long getProcessInstanceKey() -
getRootProcessInstanceKey
Long getRootProcessInstanceKey()Returns the key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.Note: This field is
nullfor process instance hierarchies created before version 8.9.- Returns:
- the root process instance key, or
nullfor data created before version 8.9
-
getBusinessId
String getBusinessId()Returns the business ID of the owning process instance, inherited when the job was created.Note: This field is
nullfor jobs created before version 8.10 and when the owning process instance has no business ID.- Returns:
- the business ID, or
nullwhen not set
-
getElementId
String getElementId() -
getElementInstanceKey
Long getElementInstanceKey() -
getTenantId
String getTenantId() -
getCreationTime
OffsetDateTime getCreationTime() -
getLastUpdateTime
OffsetDateTime getLastUpdateTime()
-