Package org.flowable.engine.impl.cmd
Class DeleteProcessInstancesByIdCmd
- java.lang.Object
-
- org.flowable.engine.impl.cmd.DeleteProcessInstancesByIdCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class DeleteProcessInstancesByIdCmd extends Object implements Command<Void>, Serializable
- Author:
- Christopher Welsch
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdeleteReasonprotected Collection<String>processInstanceIds
-
Constructor Summary
Constructors Constructor Description DeleteProcessInstancesByIdCmd(Collection<String> processInstanceIds, String deleteReason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidexecute(CommandContext commandContext)protected VoidexecuteSingleDelete(CommandContext commandContext, String processInstanceId)
-
-
-
Field Detail
-
processInstanceIds
protected Collection<String> processInstanceIds
-
deleteReason
protected String deleteReason
-
-
Constructor Detail
-
DeleteProcessInstancesByIdCmd
public DeleteProcessInstancesByIdCmd(Collection<String> processInstanceIds, String deleteReason)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
executeSingleDelete
protected Void executeSingleDelete(CommandContext commandContext, String processInstanceId)
-
-