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

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

public class DecrementJobRetriesCmd
extends Object
implements Command<Object>

Author:
Tom Baeyens

Field Summary
protected  Throwable exception
           
protected  String jobId
           
 
Constructor Summary
DecrementJobRetriesCmd(String jobId, Throwable exception)
           
 
Method Summary
 Object execute(CommandContext commandContext)
           
protected  boolean shouldDecrementRetriesFor(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobId

protected String jobId

exception

protected Throwable exception
Constructor Detail

DecrementJobRetriesCmd

public DecrementJobRetriesCmd(String jobId,
                              Throwable exception)
Method Detail

execute

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

shouldDecrementRetriesFor

protected boolean shouldDecrementRetriesFor(Throwable t)


Copyright © 2014 camunda services GmbH. All rights reserved.