org.jbpm.command
Class StartProcessInstanceCommand
java.lang.Object
org.jbpm.command.AbstractBaseCommand
org.jbpm.command.NewProcessInstanceCommand
org.jbpm.command.StartProcessInstanceCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class StartProcessInstanceCommand
- extends NewProcessInstanceCommand
Graph command to start a new process and signal it immidiatly. The transition named in
startTransitionName is used (or the default transition if it is null). The result of
this command, if requested, is a Long value containing the process instance id.
- Author:
- Jim Rigsbee, Tom Baeyens, Bernd Ruecker
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.command.NewProcessInstanceCommand |
actorId, createStartTask, getActorId, getKey, getProcessDefinitionId, getProcessDefinitionName, getProcessId, getProcessName, getVariables, isCreateStartTask, key, processDefinitionId, processDefinitionName, setActorId, setCreateStartTask, setKey, setProcessDefinitionId, setProcessDefinitionName, setProcessId, setProcessName, setVariables, variables |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StartProcessInstanceCommand
public StartProcessInstanceCommand()
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Description copied from class:
NewProcessInstanceCommand
- return the id of the newly created process instance.
- Specified by:
execute in interface Command- Overrides:
execute in class NewProcessInstanceCommand
- Throws:
java.lang.Exception
getStartTransitionName
public java.lang.String getStartTransitionName()
setStartTransitionName
public void setStartTransitionName(java.lang.String startTransitionName)
getAdditionalToStringInformation
public java.lang.String getAdditionalToStringInformation()
- Overrides:
getAdditionalToStringInformation in class NewProcessInstanceCommand
startTransitionName
public StartProcessInstanceCommand startTransitionName(java.lang.String startTransitionName)
Copyright © 2010 JBoss Community. All Rights Reserved.