-
- All Implemented Interfaces:
-
io.holunda.camunda.taskpool.api.process.instance.ProcessInstanceCommand
public final class CancelProcessInstanceCommand extends EndProcessInstanceCommand
Informs about a process instance cancelled by the user in the engine.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringprocessInstanceIdprivate final SourceReferencesourceReferenceprivate final StringbusinessKeyprivate final StringsuperInstanceIdprivate final StringendActivityIdprivate final StringdeleteReason
-
Constructor Summary
Constructors Constructor Description CancelProcessInstanceCommand(String processInstanceId, SourceReference sourceReference, String businessKey, String superInstanceId, String endActivityId, String deleteReason)
-
Method Summary
Modifier and Type Method Description StringgetProcessInstanceId()SourceReferencegetSourceReference()final StringgetBusinessKey()the business key of the process instance final StringgetSuperInstanceId()the id of the super case instance final StringgetEndActivityId()id of the activity which ended the process instance final StringgetDeleteReason()the reason why this process instance was cancelled (deleted) -
-
Method Detail
-
getProcessInstanceId
String getProcessInstanceId()
-
getSourceReference
SourceReference getSourceReference()
-
getBusinessKey
final String getBusinessKey()
the business key of the process instance
-
getSuperInstanceId
final String getSuperInstanceId()
the id of the super case instance
-
getEndActivityId
final String getEndActivityId()
id of the activity which ended the process instance
-
getDeleteReason
final String getDeleteReason()
the reason why this process instance was cancelled (deleted)
-
-
-
-