public interface JobDefinition
A Job Definition provides details about asynchronous background processing ("Jobs") performed by the process engine.
Each Job Definition corresponds to a Timer or Asynchronous continuation job installed in the process engine. Jobs definitions are installed when BPMN 2.0 processes containing timer activities or asynchronous continuations are deployed.
Modifier and Type | Method and Description |
---|---|
String |
getActivityId()
The Id of the activity (from BPMN 2.0 Xml) this Job Definition is associated with.
|
String |
getId() |
String |
getJobConfiguration()
The configuration of a job definition provides details about the jobs which will be created.
|
String |
getJobType()
The Type of a job.
|
Long |
getOverridingJobPriority()
Returns the execution priority for jobs of this definition, if it was set using the
ManagementService API. |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getTenantId()
The id of the tenant this job definition belongs to.
|
boolean |
isSuspended()
Indicates whether this job definition is suspended.
|
String getId()
String getProcessDefinitionId()
ProcessDefinition
this job definition is associated with.String getProcessDefinitionKey()
ProcessDefinition
this job definition is associated with.String getJobType()
String getJobConfiguration()
String getActivityId()
boolean isSuspended()
Long getOverridingJobPriority()
Returns the execution priority for jobs of this definition, if it was set using the
ManagementService
API. When a job is assigned a priority, the job definition's overriding
priority (if set) is used instead of the values defined in the BPMN XML.
null
if
no overriding priority is setString getTenantId()
null
if the definition belongs to no single tenant.Copyright © 2019. All rights reserved.