org.jbpm.command
Class SuspendProcessInstanceCommand

java.lang.Object
  extended by org.jbpm.command.AbstractBaseCommand
      extended by org.jbpm.command.AbstractProcessInstanceBaseCommand
          extended by 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

Field Summary
 
Fields inherited from class org.jbpm.command.AbstractProcessInstanceBaseCommand
log
 
Constructor Summary
SuspendProcessInstanceCommand()
           
 
Method Summary
 ProcessInstance execute(ProcessInstance processInstance)
           
 
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
 
Methods inherited from class org.jbpm.command.AbstractBaseCommand
getAdditionalToStringInformation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuspendProcessInstanceCommand

public SuspendProcessInstanceCommand()
Method Detail

execute

public ProcessInstance execute(ProcessInstance processInstance)
Specified by:
execute in class AbstractProcessInstanceBaseCommand


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.