org.jbpm.api.cmd
Class ParamCommand<T>

java.lang.Object
  extended by org.jbpm.api.cmd.ParamCommand<T>
All Implemented Interfaces:
java.io.Serializable, Command<T>

public abstract class ParamCommand<T>
extends java.lang.Object
implements Command<T>

command with support for parameter passing from the client to the implementation.

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.util.Map<java.lang.String,java.lang.Object> params
           
 
Constructor Summary
ParamCommand()
           
 
Method Summary
 ParamCommand<T> setParam(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbpm.api.cmd.Command
execute
 

Field Detail

params

protected java.util.Map<java.lang.String,java.lang.Object> params
Constructor Detail

ParamCommand

public ParamCommand()
Method Detail

setParam

public ParamCommand<T> setParam(java.lang.String name,
                                java.lang.Object value)


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.