org.camunda.bpm.engine.impl.cmd
Class AbstractSetProcessInstanceStateCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractSetProcessInstanceStateCmd
- All Implemented Interfaces:
- Command<Void>
- Direct Known Subclasses:
- ActivateProcessInstanceCmd, SuspendProcessInstanceCmd
public abstract class AbstractSetProcessInstanceStateCmd
- extends Object
- implements Command<Void>
- Author:
- Daniel Meyer, Joram Barrez, roman.smirnov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processInstanceId
protected final String processInstanceId
processDefinitionId
protected String processDefinitionId
processDefinitionKey
protected String processDefinitionKey
AbstractSetProcessInstanceStateCmd
public AbstractSetProcessInstanceStateCmd(String processInstanceId,
String processDefinitionId,
String processDefinitionKey)
execute
public Void execute(CommandContext commandContext)
- Specified by:
execute
in interface Command<Void>
getNewSuspensionState
protected abstract SuspensionState getNewSuspensionState()
- Subclasses should return the wanted
SuspensionState
here.
getSetJobStateCmd
protected abstract AbstractSetJobStateCmd getSetJobStateCmd()
- Subclasses should return the type of the
AbstractSetJobStateCmd
here.
It will be used to suspend or activate the Job
s.
Copyright © 2014 camunda services GmbH. All Rights Reserved.