Package org.flowable.job.service.impl
Class AcquiredExternalWorkerJobImpl
- java.lang.Object
-
- org.flowable.job.service.impl.AcquiredExternalWorkerJobImpl
-
- All Implemented Interfaces:
AcquiredExternalWorkerJob,ExternalWorkerJob,Job,JobInfo
public class AcquiredExternalWorkerJobImpl extends Object implements AcquiredExternalWorkerJob
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected ExternalWorkerJobEntityjobprotected Map<String,Object>variables-
Fields inherited from interface org.flowable.job.api.Job
DEFAULT_EXCLUSIVE, JOB_TYPE_EXTERNAL_WORKER, JOB_TYPE_MESSAGE, JOB_TYPE_TIMER
-
Fields inherited from interface org.flowable.job.api.JobInfo
MAX_EXCEPTION_MESSAGE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AcquiredExternalWorkerJobImpl(ExternalWorkerJobEntity job, Map<String,Object> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()StringgetCorrelationId()DategetCreateTime()StringgetCustomValues()DategetDuedate()StringgetElementId()StringgetElementName()StringgetExceptionMessage()StringgetExecutionId()StringgetId()StringgetJobHandlerConfiguration()StringgetJobHandlerType()StringgetJobType()DategetLockExpirationTime()StringgetLockOwner()StringgetProcessDefinitionId()StringgetProcessInstanceId()intgetRetries()StringgetScopeDefinitionId()StringgetScopeId()StringgetScopeType()StringgetSubScopeId()StringgetTenantId()Map<String,Object>getVariables()booleanisExclusive()
-
-
-
Field Detail
-
job
protected final ExternalWorkerJobEntity job
-
-
Constructor Detail
-
AcquiredExternalWorkerJobImpl
public AcquiredExternalWorkerJobImpl(ExternalWorkerJobEntity job, Map<String,Object> variables)
-
-
Method Detail
-
getVariables
public Map<String,Object> getVariables()
- Specified by:
getVariablesin interfaceAcquiredExternalWorkerJob
-
getDuedate
public Date getDuedate()
- Specified by:
getDuedatein interfaceJob
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceJob
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin interfaceJob
-
getProcessDefinitionId
public String getProcessDefinitionId()
- Specified by:
getProcessDefinitionIdin interfaceJob
-
getCategory
public String getCategory()
- Specified by:
getCategoryin interfaceJob
-
getJobType
public String getJobType()
- Specified by:
getJobTypein interfaceJob
-
getElementId
public String getElementId()
- Specified by:
getElementIdin interfaceJob
-
getElementName
public String getElementName()
- Specified by:
getElementNamein interfaceJob
-
getScopeId
public String getScopeId()
- Specified by:
getScopeIdin interfaceJob
-
getSubScopeId
public String getSubScopeId()
- Specified by:
getSubScopeIdin interfaceJob
-
getScopeType
public String getScopeType()
- Specified by:
getScopeTypein interfaceJob
-
getScopeDefinitionId
public String getScopeDefinitionId()
- Specified by:
getScopeDefinitionIdin interfaceJob
-
getCorrelationId
public String getCorrelationId()
- Specified by:
getCorrelationIdin interfaceJob
-
isExclusive
public boolean isExclusive()
- Specified by:
isExclusivein interfaceJob
-
getCreateTime
public Date getCreateTime()
- Specified by:
getCreateTimein interfaceJob
-
getRetries
public int getRetries()
- Specified by:
getRetriesin interfaceJobInfo
-
getExceptionMessage
public String getExceptionMessage()
- Specified by:
getExceptionMessagein interfaceJobInfo
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceJobInfo
-
getJobHandlerType
public String getJobHandlerType()
- Specified by:
getJobHandlerTypein interfaceJobInfo
-
getJobHandlerConfiguration
public String getJobHandlerConfiguration()
- Specified by:
getJobHandlerConfigurationin interfaceJobInfo
-
getCustomValues
public String getCustomValues()
- Specified by:
getCustomValuesin interfaceJobInfo
-
getLockOwner
public String getLockOwner()
- Specified by:
getLockOwnerin interfaceExternalWorkerJob
-
getLockExpirationTime
public Date getLockExpirationTime()
- Specified by:
getLockExpirationTimein interfaceExternalWorkerJob
-
-