public class AcquiredExternalWorkerJobImpl extends Object implements AcquiredExternalWorkerJob
| Modifier and Type | Field and Description |
|---|---|
protected ExternalWorkerJobEntity |
job |
protected Map<String,Object> |
variables |
DEFAULT_EXCLUSIVE, JOB_TYPE_EXTERNAL_WORKER, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER, MAX_EXCEPTION_MESSAGE_LENGTH| Constructor and Description |
|---|
AcquiredExternalWorkerJobImpl(ExternalWorkerJobEntity job,
Map<String,Object> variables) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCategory()
Get the category for this job.
|
String |
getCorrelationId()
Returns the correlation id of a job.
|
Date |
getCreateTime()
Returns the create datetime of the job.
|
String |
getCustomValues()
Get the custom values.
|
Date |
getDuedate()
Returns the date on which this job is supposed to be processed.
|
String |
getElementId()
Reference to an element identifier or null if none is set.
|
String |
getElementName()
Reference to an element name or null if none is set.
|
String |
getExceptionMessage()
Returns the message of the exception that occurred, the last time the job was executed.
|
String |
getExecutionId()
Returns the specific execution on which the job was created.
|
String |
getId()
Returns the unique identifier for this job.
|
String |
getJobHandlerConfiguration()
Get the job handler configuration.
|
String |
getJobHandlerType()
Get the job handler type.
|
String |
getJobType()
Get the job type for this job.
|
Date |
getLockExpirationTime() |
String |
getLockOwner() |
String |
getProcessDefinitionId()
Returns the specific process definition on which the job was created
|
String |
getProcessInstanceId()
x
Returns the id of the process instance which execution created the job.
|
int |
getRetries()
Returns the number of retries this job has left.
|
String |
getScopeDefinitionId()
Reference to a scope definition identifier or null if none is set.
|
String |
getScopeId()
Reference to a scope identifier or null if none is set.
|
String |
getScopeType()
Reference to a scope type or null if none is set.
|
String |
getSubScopeId()
Reference to a sub scope identifier or null if none is set.
|
String |
getTenantId()
Get the tenant identifier for this job.
|
Map<String,Object> |
getVariables() |
boolean |
isExclusive()
Is the job exclusive?
|
protected final ExternalWorkerJobEntity job
public AcquiredExternalWorkerJobImpl(ExternalWorkerJobEntity job, Map<String,Object> variables)
public Map<String,Object> getVariables()
getVariables in interface AcquiredExternalWorkerJobpublic Date getDuedate()
JobgetDuedate in interface Jobpublic String getProcessInstanceId()
JobgetProcessInstanceId in interface Jobpublic String getExecutionId()
JobgetExecutionId in interface Jobpublic String getProcessDefinitionId()
JobgetProcessDefinitionId in interface Jobpublic String getCategory()
JobgetCategory in interface Jobpublic String getJobType()
JobgetJobType in interface Jobpublic String getElementId()
JobgetElementId in interface Jobpublic String getElementName()
JobgetElementName in interface Jobpublic String getScopeId()
JobgetScopeId in interface Jobpublic String getSubScopeId()
JobgetSubScopeId in interface Jobpublic String getScopeType()
JobgetScopeType in interface Jobpublic String getScopeDefinitionId()
JobgetScopeDefinitionId in interface Jobpublic String getCorrelationId()
JobgetCorrelationId in interface Jobpublic boolean isExclusive()
JobisExclusive in interface Jobpublic Date getCreateTime()
JobgetCreateTime in interface Jobpublic String getId()
JobInfopublic int getRetries()
JobInfogetRetries in interface JobInfopublic String getExceptionMessage()
JobInfogetExceptionMessage in interface JobInfopublic String getTenantId()
JobInfogetTenantId in interface JobInfopublic String getJobHandlerType()
JobInfogetJobHandlerType in interface JobInfopublic String getJobHandlerConfiguration()
JobInfogetJobHandlerConfiguration in interface JobInfopublic String getCustomValues()
JobInfogetCustomValues in interface JobInfopublic String getLockOwner()
getLockOwner in interface ExternalWorkerJobpublic Date getLockExpirationTime()
getLockExpirationTime in interface ExternalWorkerJobCopyright © 2023 Flowable. All rights reserved.