org.jbpm.command
Class CompositeCommand

java.lang.Object
  extended by org.jbpm.command.CompositeCommand
All Implemented Interfaces:
Serializable, Command

public class CompositeCommand
extends Object
implements Command

See Also:
Serialized Form

Constructor Summary
CompositeCommand(List commands)
           
 
Method Summary
 Object execute(JbpmContext jbpmContext)
           
protected  Field findField(Class clazz)
           
 String toString()
           
protected  void tryToInject(Object lastResult, Command command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeCommand

public CompositeCommand(List commands)
Method Detail

execute

public Object execute(JbpmContext jbpmContext)
               throws Exception
Specified by:
execute in interface Command
Throws:
Exception

tryToInject

protected void tryToInject(Object lastResult,
                           Command command)

findField

protected Field findField(Class clazz)

toString

public String toString()
Overrides:
toString in class Object


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