org.ow2.bonita.pvm.internal.cmd
Class StartExecutionInLatestCmd

java.lang.Object
  extended by org.ow2.bonita.pvm.internal.cmd.AbstractCommand<T>
      extended by org.ow2.bonita.pvm.internal.cmd.VariablesCmd<Execution>
          extended by org.ow2.bonita.pvm.internal.cmd.StartExecutionInLatestCmd
All Implemented Interfaces:
java.io.Serializable, Command<Execution>

public class StartExecutionInLatestCmd
extends VariablesCmd<Execution>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String executionKey
           
protected  java.lang.String processDefinitionName
           
 
Constructor Summary
StartExecutionInLatestCmd(java.lang.String processDefinitionName, java.util.Map<java.lang.String,java.lang.Object> variables, java.lang.String executionKey)
           
 
Method Summary
 Execution execute(Environment environment)
           
 java.lang.String getExecutionKey()
           
 java.lang.String getProcessDefinitionName()
           
 void setExecutionKey(java.lang.String executionKey)
           
 void setProcessDefinitionName(java.lang.String processName)
           
 
Methods inherited from class org.ow2.bonita.pvm.internal.cmd.VariablesCmd
addVariable, getVariables, setVariables
 
Methods inherited from class org.ow2.bonita.pvm.internal.cmd.AbstractCommand
getExecution, getExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processDefinitionName

protected java.lang.String processDefinitionName

executionKey

protected java.lang.String executionKey
Constructor Detail

StartExecutionInLatestCmd

public StartExecutionInLatestCmd(java.lang.String processDefinitionName,
                                 java.util.Map<java.lang.String,java.lang.Object> variables,
                                 java.lang.String executionKey)
Method Detail

execute

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

getProcessDefinitionName

public java.lang.String getProcessDefinitionName()

setProcessDefinitionName

public void setProcessDefinitionName(java.lang.String processName)

getExecutionKey

public java.lang.String getExecutionKey()

setExecutionKey

public void setExecutionKey(java.lang.String executionKey)


Copyright © 2009 OW2 Consortium. All Rights Reserved.