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

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

public class SetJobRetriesCmd
extends AbstractSetJobRetriesCmd
implements Command<Void>, Serializable

Author:
Askar Akhmerov
See Also:
Serialized Form

Field Summary
protected  String jobDefinitionId
           
protected  String jobId
           
protected  int retries
           
protected static long serialVersionUID
           
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetJobRetriesCmd
RETRIES
 
Constructor Summary
SetJobRetriesCmd(String jobId, String jobDefinitionId, int retries)
           
 
Method Summary
 Void execute(CommandContext commandContext)
           
protected  void setJobRetriesByJobDefinitionId(CommandContext commandContext)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetJobRetriesCmd
getLogEntryOperation, setJobRetriesByJobId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values

jobId

protected final String jobId

jobDefinitionId

protected final String jobDefinitionId

retries

protected final int retries
Constructor Detail

SetJobRetriesCmd

public SetJobRetriesCmd(String jobId,
                        String jobDefinitionId,
                        int retries)
Method Detail

execute

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

setJobRetriesByJobDefinitionId

protected void setJobRetriesByJobDefinitionId(CommandContext commandContext)


Copyright © 2017 camunda services GmbH. All rights reserved.