Command Design Pattern

The Command design pattern allows you to encapsulate an action into an object and call it later. The command is called by an invoker. The command object includes parameters needed for calling the associated action accessed from a receiver.

Design Pattern Parts

  • Invoker
  • Command
  • Concrete Command
  • Receiver

Diagram

Command Design Pattern (UML Diagram)
Command Pattern (UML Diagram)
Download Diagram (Software Ideas Modeler Project - Command.simp)

New Comment

Comment