org.camunda.bpm.engine.impl.cmd
Class SetJobPriorityCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.SetJobPriorityCmd
All Implemented Interfaces:
Command<Void>

public class SetJobPriorityCmd
extends Object
implements Command<Void>

Author:
Thorben Lindhauer

Field Summary
static String JOB_PRIORITY_PROPERTY
           
protected  String jobId
           
protected  long priority
           
 
Constructor Summary
SetJobPriorityCmd(String jobId, long priority)
           
 
Method Summary
protected  void createOpLogEntry(CommandContext commandContext, long previousPriority, JobEntity job)
           
 Void execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_PRIORITY_PROPERTY

public static final String JOB_PRIORITY_PROPERTY
See Also:
Constant Field Values

jobId

protected String jobId

priority

protected long priority
Constructor Detail

SetJobPriorityCmd

public SetJobPriorityCmd(String jobId,
                         long priority)
Method Detail

execute

public Void execute(CommandContext commandContext)
Specified by:
execute in interface Command<Void>

createOpLogEntry

protected void createOpLogEntry(CommandContext commandContext,
                                long previousPriority,
                                JobEntity job)


Copyright © 2016 camunda services GmbH. All rights reserved.