org.camunda.bpm.engine.impl.cmd
Class SuspendProcessInstanceCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractSetProcessInstanceStateCmd
      extended by org.camunda.bpm.engine.impl.cmd.SuspendProcessInstanceCmd
All Implemented Interfaces:
Command<Void>

public class SuspendProcessInstanceCmd
extends AbstractSetProcessInstanceStateCmd

Author:
Daniel Meyer

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetProcessInstanceStateCmd
processDefinitionId, processDefinitionKey, processInstanceId, SUSPENSION_STATE_PROPERTY
 
Constructor Summary
SuspendProcessInstanceCmd(String executionId, String processDefinitionId, String processDefinitionKey)
           
 
Method Summary
protected  String getLogEntryOperation()
           
protected  SuspensionState getNewSuspensionState()
          Subclasses should return the wanted SuspensionState here.
protected  AbstractSetJobStateCmd getSetJobStateCmd()
          Subclasses should return the type of the AbstractSetJobStateCmd here.
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetProcessInstanceStateCmd
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuspendProcessInstanceCmd

public SuspendProcessInstanceCmd(String executionId,
                                 String processDefinitionId,
                                 String processDefinitionKey)
Method Detail

getNewSuspensionState

protected SuspensionState getNewSuspensionState()
Description copied from class: AbstractSetProcessInstanceStateCmd
Subclasses should return the wanted SuspensionState here.

Specified by:
getNewSuspensionState in class AbstractSetProcessInstanceStateCmd

getSetJobStateCmd

protected AbstractSetJobStateCmd getSetJobStateCmd()
Description copied from class: AbstractSetProcessInstanceStateCmd
Subclasses should return the type of the AbstractSetJobStateCmd here. It will be used to suspend or activate the Jobs.

Specified by:
getSetJobStateCmd in class AbstractSetProcessInstanceStateCmd

getLogEntryOperation

protected String getLogEntryOperation()
Specified by:
getLogEntryOperation in class AbstractSetProcessInstanceStateCmd


Copyright © 2014 camunda services GmbH. All rights reserved.