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

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

public class HandleExternalTaskFailureCmd
extends Object
implements Command<Void>

Author:
Thorben Lindhauer

Field Summary
protected  String errorMessage
           
protected  String externalTaskId
           
protected  int retries
           
protected  long retryDuration
           
protected  String workerId
           
 
Constructor Summary
HandleExternalTaskFailureCmd(String externalTaskId, String workerId, String errorMessage, int retries, long retryDuration)
           
 
Method Summary
 Void execute(CommandContext commandContext)
           
protected  void validateInput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

externalTaskId

protected String externalTaskId

workerId

protected String workerId

errorMessage

protected String errorMessage

retryDuration

protected long retryDuration

retries

protected int retries
Constructor Detail

HandleExternalTaskFailureCmd

public HandleExternalTaskFailureCmd(String externalTaskId,
                                    String workerId,
                                    String errorMessage,
                                    int retries,
                                    long retryDuration)
Method Detail

execute

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

validateInput

protected void validateInput()


Copyright © 2015 camunda services GmbH. All rights reserved.