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 String
JOB_DEFINITION_OVERRIDING_PRIORITY
protected String
jobDefinitionId
protected Long
priority
-
Constructor Summary
Constructors Constructor Description SetJobDefinitionPriorityCmd(String jobDefinitionId, 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, Long previousPriority, JobDefinitionEntity jobDefinition)
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 String JOB_DEFINITION_OVERRIDING_PRIORITY
- See Also:
- Constant Field Values
-
jobDefinitionId
protected String jobDefinitionId
-
priority
protected Long priority
-
cascade
protected boolean cascade
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
checkUpdateProcess
protected void checkUpdateProcess(CommandContext commandContext, JobDefinitionEntity jobDefinition)
-
createJobDefinitionOperationLogEntry
protected void createJobDefinitionOperationLogEntry(UserOperationLogContext opLogContext, Long previousPriority, JobDefinitionEntity jobDefinition)
-
createCascadeJobsOperationLogEntry
protected void createCascadeJobsOperationLogEntry(UserOperationLogContext opLogContext, JobDefinitionEntity jobDefinition)
-
-