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

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

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

Author:
Joram Barrez
See Also:
Serialized Form

Field Summary
protected  String deleteReason
           
protected  boolean externallyTerminated
           
protected  String processInstanceId
           
protected  boolean skipCustomListeners
           
 
Constructor Summary
DeleteProcessInstanceCmd(String processInstanceId, String deleteReason, boolean skipCustomListeners)
           
DeleteProcessInstanceCmd(String processInstanceId, String deleteReason, boolean skipCustomListeners, boolean externallyTerminated)
           
 
Method Summary
protected  void checkDeleteProcessInstance(ExecutionEntity execution, CommandContext commandContext)
           
 Void execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

externallyTerminated

protected boolean externallyTerminated

processInstanceId

protected String processInstanceId

deleteReason

protected String deleteReason

skipCustomListeners

protected boolean skipCustomListeners
Constructor Detail

DeleteProcessInstanceCmd

public DeleteProcessInstanceCmd(String processInstanceId,
                                String deleteReason,
                                boolean skipCustomListeners)

DeleteProcessInstanceCmd

public DeleteProcessInstanceCmd(String processInstanceId,
                                String deleteReason,
                                boolean skipCustomListeners,
                                boolean externallyTerminated)
Method Detail

execute

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

checkDeleteProcessInstance

protected void checkDeleteProcessInstance(ExecutionEntity execution,
                                          CommandContext commandContext)


Copyright © 2016 camunda services GmbH. All rights reserved.