org.jbpm.pvm.internal.cmd
Class StartProcessInstanceInLatestCmd

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.StartProcessInstanceInLatestCmd
All Implemented Interfaces:
java.io.Serializable, Command<ProcessInstance>

public class StartProcessInstanceInLatestCmd
extends VariablesCmd<ProcessInstance>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String executionKey
           
protected  java.lang.String processDefinitionKey
           
 
Fields inherited from class org.jbpm.pvm.internal.cmd.VariablesCmd
variables
 
Constructor Summary
StartProcessInstanceInLatestCmd(java.lang.String processDefinitionKey, java.util.Map<java.lang.String,?> variables, java.lang.String executionKey)
           
 
Method Summary
 ProcessInstance execute(Environment environment)
           
 java.lang.String getExecutionKey()
           
 void setExecutionKey(java.lang.String executionKey)
           
 
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

processDefinitionKey

protected java.lang.String processDefinitionKey

executionKey

protected java.lang.String executionKey
Constructor Detail

StartProcessInstanceInLatestCmd

public StartProcessInstanceInLatestCmd(java.lang.String processDefinitionKey,
                                       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

getExecutionKey

public java.lang.String getExecutionKey()

setExecutionKey

public void setExecutionKey(java.lang.String executionKey)


Copyright © 2010 JBoss Community. All Rights Reserved.