org.jboss.portal.common.command
Class CompositeCommand

java.lang.Object
  extended by org.jboss.portal.common.command.CompositeCommand
All Implemented Interfaces:
Command

public class CompositeCommand
extends java.lang.Object
implements Command


Constructor Summary
CompositeCommand()
           
 
Method Summary
 void add(Command cmd)
           
 Result execute()
          Execute the real business job.
 Configurator getConfigurator()
          Returns the command configurator.
 java.util.Iterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeCommand

public CompositeCommand()
Method Detail

add

public void add(Command cmd)

getConfigurator

public Configurator getConfigurator()
Description copied from interface: Command
Returns the command configurator.

Specified by:
getConfigurator in interface Command

iterator

public java.util.Iterator iterator()

execute

public Result execute()
Description copied from interface: Command
Execute the real business job.

Specified by:
execute in interface Command