org.jbpm.client
Class SetVariables

java.lang.Object
  extended by org.jbpm.client.AbstractCommand<T>
      extended by org.jbpm.client.VariablesCommand<Execution>
          extended by org.jbpm.client.SetVariables
All Implemented Interfaces:
java.io.Serializable, Command<Execution>

public class SetVariables
extends VariablesCommand<Execution>

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  long executionId
           
 
Constructor Summary
SetVariables()
           
SetVariables(long executionId)
           
SetVariables(long executionId, java.util.Map<java.lang.String,java.lang.Object> variables)
           
SetVariables(long executionId, java.lang.String key, java.lang.Object variable)
           
 
Method Summary
 Execution execute(Environment environment)
           
 long getExecutionId()
           
 void setExecutionId(long executionId)
           
 
Methods inherited from class org.jbpm.client.VariablesCommand
addVariable, getVariables, setVariables
 
Methods inherited from class org.jbpm.client.AbstractCommand
getExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executionId

protected long executionId
Constructor Detail

SetVariables

public SetVariables()

SetVariables

public SetVariables(long executionId)

SetVariables

public SetVariables(long executionId,
                    java.util.Map<java.lang.String,java.lang.Object> variables)

SetVariables

public SetVariables(long executionId,
                    java.lang.String key,
                    java.lang.Object variable)
Method Detail

execute

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

getExecutionId

public long getExecutionId()

setExecutionId

public void setExecutionId(long executionId)