Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Uses of Package
dk.rode.thesis.command

Packages that use dk.rode.thesis.command
dk.rode.thesis.command Implementations and examples of the Command design pattern [Gamma95, p.233]. 
dk.rode.thesis.factorymethod Implementations and examples of the Factory Method design pattern [Gamma95, p.107]. 
 

Classes in dk.rode.thesis.command used by dk.rode.thesis.command
Command
          A command represents a possibly undoable operation on a given receiver.
CommandException
          A command exception may be explicitly raised in case the execution or undoing of a command fails.
CommandProcessingResult
          A command processing result represents the result of executing a list commands by a given command processor.
CompositeCommand
          A composite command is a command that represents an number of other contained commands, possibly composite as well, thus forming a tree-like structure.
Creator
          Simple helper class to create a list of commands based on a sequence for the Main.test(Log, Arguments) method.
EvilCommand
          An evil command is a test command that will always fail during execution and perhaps on undo as well by specifying that it is undoable while in reality it is not.
EvilCommand.EvilCommandException
          The exception type thrown during execution and perhaps on undo of the an evil command.
LogCommand
          A log command simply logs the operation performed on the receiver object.
NextCommand
          A next command command will invoke next() on its receiving sequence when it is executed.
NullCommand
          A null command performs no operation on execute or on undo, is always considered undoable, and carries no state.
ResetCommand
          A reset command command will invoke reset() on its receiving sequence when it is executed.
ReverseCommand
          A reserve command command will reverse a given sequence when it is executed, if possible.
SequenceCommand
          A sequence command is a command that manipulates the state of a sequence when it is executed.
 

Classes in dk.rode.thesis.command used by dk.rode.thesis.factorymethod
Command
          A command represents a possibly undoable operation on a given receiver.
EvilCommand
          An evil command is a test command that will always fail during execution and perhaps on undo as well by specifying that it is undoable while in reality it is not.
LogCommand
          A log command simply logs the operation performed on the receiver object.
 


Gunni Rode / rode.dk

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.