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

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

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

Author:
Falko Menge
See Also:
Serialized Form

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

Field Detail

RETRIES

protected static final String RETRIES
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>

setJobRetriesByJobId

protected void setJobRetriesByJobId(CommandContext commandContext)

setJobRetriesByJobDefinitionId

protected void setJobRetriesByJobDefinitionId(CommandContext commandContext)

getLogEntryOperation

protected String getLogEntryOperation()


Copyright © 2015 camunda services GmbH. All rights reserved.