Command Design Pattern (UML Diagrams)
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
The command design pattern consists of these roles:
- Invoker
- Command
- Concrete Command
- Receiver
Command Pattern in Diagram
The command pattern described using UML class diagram and sequence diagram.
Command Pattern (UML Diagram)
New Comment