|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.persistence.entity.JobDefinitionEntity
public class JobDefinitionEntity
| Field Summary | |
|---|---|
protected String |
activityId
|
protected String |
id
|
protected String |
jobConfiguration
|
protected Long |
jobPriority
|
protected String |
jobType
timer, message, ... |
protected String |
processDefinitionId
|
protected String |
processDefinitionKey
|
protected int |
revision
|
protected int |
suspensionState
|
| Constructor Summary | |
|---|---|
JobDefinitionEntity()
|
|
JobDefinitionEntity(JobDeclaration<?,?> jobDeclaration)
|
|
| Method Summary | |
|---|---|
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. |
Object |
getPersistentState()
Returns a representation of the object, as would be stored in the database. |
String |
getProcessDefinitionId()
|
String |
getProcessDefinitionKey()
|
int |
getRevision()
|
int |
getRevisionNext()
|
int |
getSuspensionState()
|
boolean |
isSuspended()
Indicates whether this job definition is suspended. |
void |
setActivityId(String activityId)
|
void |
setId(String id)
|
void |
setJobConfiguration(String jobConfiguration)
|
void |
setJobPriority(Long jobPriority)
|
void |
setJobType(String jobType)
|
void |
setProcessDefinitionId(String processDefinitionId)
|
void |
setProcessDefinitionKey(String processDefinitionKey)
|
void |
setRevision(int revision)
|
void |
setSuspensionState(int state)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected int revision
protected String processDefinitionId
protected String processDefinitionKey
protected String activityId
protected String jobType
protected String jobConfiguration
protected int suspensionState
protected Long jobPriority
| Constructor Detail |
|---|
public JobDefinitionEntity()
public JobDefinitionEntity(JobDeclaration<?,?> jobDeclaration)
| Method Detail |
|---|
public Object getPersistentState()
DbEntity
getPersistentState in interface DbEntitypublic int getRevisionNext()
getRevisionNext in interface HasDbRevisionpublic String getId()
getId in interface DbEntitygetId in interface JobDefinitionpublic void setId(String id)
setId in interface DbEntitypublic int getRevision()
getRevision in interface HasDbRevisionpublic void setRevision(int revision)
setRevision in interface HasDbRevisionpublic boolean isSuspended()
JobDefinition
isSuspended in interface JobDefinitionpublic String getProcessDefinitionId()
getProcessDefinitionId in interface JobDefinitionProcessDefinition this job definition is associated with.public void setProcessDefinitionId(String processDefinitionId)
public String getActivityId()
JobDefinition
getActivityId in interface JobDefinitionpublic void setActivityId(String activityId)
public String getJobType()
JobDefinition
getJobType in interface JobDefinitionpublic void setJobType(String jobType)
public String getJobConfiguration()
JobDefinition
getJobConfiguration in interface JobDefinitionpublic void setJobConfiguration(String jobConfiguration)
public String getProcessDefinitionKey()
getProcessDefinitionKey in interface JobDefinitionProcessDefinition this job definition is associated with.public void setProcessDefinitionKey(String processDefinitionKey)
public int getSuspensionState()
public void setSuspensionState(int state)
public Long getOverridingJobPriority()
JobDefinitionReturns 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.
getOverridingJobPriority in interface JobDefinitionnull if
no overriding priority is setpublic void setJobPriority(Long jobPriority)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||