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

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

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

See Also:
Serialized Form

Field Summary
protected  String deleteReason
           
protected  String processInstanceId
           
 
Constructor Summary
FoxDeleteProcessInstanceCmd(String processInstanceId, String deleteReason)
           
 
Method Summary
 List<PvmExecutionImpl> collectExecutionToDelete(PvmExecutionImpl execution)
           
 Void execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processInstanceId

protected String processInstanceId

deleteReason

protected String deleteReason
Constructor Detail

FoxDeleteProcessInstanceCmd

public FoxDeleteProcessInstanceCmd(String processInstanceId,
                                   String deleteReason)
Method Detail

execute

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

collectExecutionToDelete

public List<PvmExecutionImpl> collectExecutionToDelete(PvmExecutionImpl execution)


Copyright © 2016 camunda services GmbH. All rights reserved.