Package org.camunda.bpm.engine.impl.cmd
Class SetJobDefinitionPriorityCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.SetJobDefinitionPriorityCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
cascade
static java.lang.String
JOB_DEFINITION_OVERRIDING_PRIORITY
protected java.lang.String
jobDefinitionId
protected java.lang.Long
priority
-
Constructor Summary
Constructors Constructor Description SetJobDefinitionPriorityCmd(java.lang.String jobDefinitionId, java.lang.Long priority, boolean cascade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkUpdateProcess(CommandContext commandContext, JobDefinitionEntity jobDefinition)
protected void
createCascadeJobsOperationLogEntry(UserOperationLogContext opLogContext, JobDefinitionEntity jobDefinition)
protected void
createJobDefinitionOperationLogEntry(UserOperationLogContext opLogContext, java.lang.Long previousPriority, JobDefinitionEntity jobDefinition)
java.lang.Void
execute(CommandContext commandContext)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
JOB_DEFINITION_OVERRIDING_PRIORITY
public static final java.lang.String JOB_DEFINITION_OVERRIDING_PRIORITY
- See Also:
- Constant Field Values
-
jobDefinitionId
protected java.lang.String jobDefinitionId
-
priority
protected java.lang.Long priority
-
cascade
protected boolean cascade
-
-
Method Detail
-
execute
public java.lang.Void execute(CommandContext commandContext)
-
checkUpdateProcess
protected void checkUpdateProcess(CommandContext commandContext, JobDefinitionEntity jobDefinition)
-
createJobDefinitionOperationLogEntry
protected void createJobDefinitionOperationLogEntry(UserOperationLogContext opLogContext, java.lang.Long previousPriority, JobDefinitionEntity jobDefinition)
-
createCascadeJobsOperationLogEntry
protected void createCascadeJobsOperationLogEntry(UserOperationLogContext opLogContext, JobDefinitionEntity jobDefinition)
-
-