#95 Updated and clarified Command pattern example

This commit is contained in:
Ilkka Seppala committed 2015-06-30 17:52:53 +03:00
1 parent fb446c2991
commit db6ec3cc1a
9 files changed
+224 -237

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ A programming idiom is a means of expressing a recurring construct in one or mor
## <a name="command">Command</a> [&#8593;](#list-of-design-patterns)
**Intent:** Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/command/etc/command_1.png "Command")
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/command/etc/command.png "Command")
**Applicability:** Use the Command pattern when you want to