org.jbpm.command
Class SuspendProcessInstanceCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.AbstractProcessInstanceBaseCommand
org.jbpm.command.SuspendProcessInstanceCommand
- All Implemented Interfaces:
- Serializable, Command
public class SuspendProcessInstanceCommand
- extends AbstractProcessInstanceBaseCommand
Suspend the specified ProcessInstance(s). See AbstractProcessInstanceBaseCommand
to check possibilities to specify ProcessInstance(s). With filter to all
ProcessDefinitions this can be used like an emergency shutdown for
ProcessDefinitions.
- Author:
- bernd.ruecker@camunda.com
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.command.AbstractProcessInstanceBaseCommand |
execute, getJbpmContext, getProcessInstanceId, getProcessInstanceIds, getProcessName, getProcessVersion, isOnlyRunning, onlyRunning, processInstanceId, processInstanceIds, processName, processVersion, setOnlyRunning, setProcessInstanceId, setProcessInstanceIds, setProcessName, setProcessVersion, toString |
SuspendProcessInstanceCommand
public SuspendProcessInstanceCommand()
execute
public ProcessInstance execute(ProcessInstance processInstance)
- Specified by:
execute in class AbstractProcessInstanceBaseCommand
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.