public class ActivityCancellationCmd extends AbstractProcessInstanceModificationCommand
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
processInstanceId, skipCustomListeners, skipIoMappings
Constructor and Description |
---|
ActivityCancellationCmd(String activityId) |
ActivityCancellationCmd(String processInstanceId,
String activityId) |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
collectParentScopeIdsForActivity(ProcessDefinitionImpl processDefinition,
String activityId) |
protected String |
describe() |
Void |
execute(CommandContext commandContext) |
String |
getActivityId() |
protected List<ActivityInstance> |
getActivityInstancesForActivity(ActivityInstance tree,
Set<String> parentScopeIds) |
protected List<TransitionInstance> |
getTransitionInstancesForActivity(ActivityInstance tree,
Set<String> parentScopeIds) |
describeFailure, findActivityInstance, findTransitionInstance, getScopeExecutionForActivityInstance, getScopeForActivityInstance, matchesRequestedTransitionInstance, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings, toString
protected String activityId
public ActivityCancellationCmd(String activityId)
public Void execute(CommandContext commandContext)
protected Set<String> collectParentScopeIdsForActivity(ProcessDefinitionImpl processDefinition, String activityId)
protected List<TransitionInstance> getTransitionInstancesForActivity(ActivityInstance tree, Set<String> parentScopeIds)
protected List<ActivityInstance> getActivityInstancesForActivity(ActivityInstance tree, Set<String> parentScopeIds)
public String getActivityId()
protected String describe()
describe
in class AbstractProcessInstanceModificationCommand
Copyright © 2017. All rights reserved.