net.sourceforge.fluxion.runcible.io.command.impl
Class CompositeCommand

java.lang.Object
  extended by net.sourceforge.fluxion.runcible.io.command.impl.CompositeCommand
All Implemented Interfaces:
ChangeCommand

public class CompositeCommand
extends java.lang.Object
implements ChangeCommand

Javadocs go here.

Version:
1.0
Author:
Tony Burdett

Constructor Summary
CompositeCommand()
           
 
Method Summary
 void addCommand(ChangeCommand command)
           
 void execute()
          Execute this command
 java.util.List<ChangeCommand> getCommands()
           
 void setCommands(java.util.List<ChangeCommand> commands)
           
 void undo()
          Undo this command
 
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

addCommand

public void addCommand(ChangeCommand command)

getCommands

public java.util.List<ChangeCommand> getCommands()

setCommands

public void setCommands(java.util.List<ChangeCommand> commands)

execute

public void execute()
Description copied from interface: ChangeCommand
Execute this command

Specified by:
execute in interface ChangeCommand

undo

public void undo()
Description copied from interface: ChangeCommand
Undo this command

Specified by:
undo in interface ChangeCommand


Copyright © 2010. All Rights Reserved.