Class DeleteTaskCmd
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.cmd.DeleteTaskCmd
-
- All Implemented Interfaces:
Serializable,Command<Void>
public class DeleteTaskCmd extends Object implements Command<Void>, Serializable
- Author:
- Tijs Rademakers
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancascadeprotected StringdeleteReasonprotected StringtaskIdprotected Collection<String>taskIds
-
Constructor Summary
Constructors Constructor Description DeleteTaskCmd(String taskId, String deleteReason, boolean cascade)DeleteTaskCmd(Collection<String> taskIds, String deleteReason, boolean cascade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeleteTask(CommandContext commandContext, String taskId)Voidexecute(CommandContext commandContext)
-
-
-
Field Detail
-
taskId
protected String taskId
-
taskIds
protected Collection<String> taskIds
-
cascade
protected boolean cascade
-
deleteReason
protected String deleteReason
-
-
Constructor Detail
-
DeleteTaskCmd
public DeleteTaskCmd(Collection<String> taskIds, String deleteReason, boolean cascade)
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
deleteTask
protected void deleteTask(CommandContext commandContext, String taskId)
-
-