org.jbpm.pvm.internal.cmd
Class StartProcessInstanceCmd

java.lang.Object
  extended by org.jbpm.pvm.internal.cmd.AbstractCommand<T>
      extended by org.jbpm.pvm.internal.cmd.VariablesCmd<ProcessInstance>
          extended by org.jbpm.pvm.internal.cmd.StartProcessInstanceCmd
All Implemented Interfaces:
java.io.Serializable, Command<ProcessInstance>

public class StartProcessInstanceCmd
extends VariablesCmd<ProcessInstance>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String executionKey
           
protected  java.lang.String processDefinitionId
           
 
Fields inherited from class org.jbpm.pvm.internal.cmd.VariablesCmd
variables
 
Constructor Summary
StartProcessInstanceCmd(java.lang.String processDefinitionId, java.util.Map<java.lang.String,?> variables, java.lang.String executionKey)
           
 
Method Summary
 ProcessInstance execute(Environment environment)
           
 java.lang.String getExecutionKey()
           
 java.lang.String getProcessDefinitionKey()
           
 void setExecutionKey(java.lang.String executionKey)
           
 void setProcessDefinitionKey(java.lang.String processDefinitionKey)
           
 
Methods inherited from class org.jbpm.pvm.internal.cmd.VariablesCmd
addVariable, getExecution, getVariables, setVariables
 
Methods inherited from class org.jbpm.pvm.internal.cmd.AbstractCommand
getAuthenticatedUserId, setAuthenticatedUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processDefinitionId

protected java.lang.String processDefinitionId

executionKey

protected java.lang.String executionKey
Constructor Detail

StartProcessInstanceCmd

public StartProcessInstanceCmd(java.lang.String processDefinitionId,
                               java.util.Map<java.lang.String,?> variables,
                               java.lang.String executionKey)
Method Detail

execute

public ProcessInstance execute(Environment environment)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getProcessDefinitionKey

public java.lang.String getProcessDefinitionKey()

setProcessDefinitionKey

public void setProcessDefinitionKey(java.lang.String processDefinitionKey)

getExecutionKey

public java.lang.String getExecutionKey()

setExecutionKey

public void setExecutionKey(java.lang.String executionKey)


Copyright © 2010 JBoss Community. All Rights Reserved.