We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2f3d58 commit d5f52edCopy full SHA for d5f52ed
command/src/main/java/com/iluwatar/command/App.java
@@ -2,7 +2,9 @@
2
3
/**
4
*
5
- * In Command pattern actions are objects that can be executed and undone.
+ * The Command pattern is a behavioral design pattern in which an object is used to encapsulate all information
6
+ * needed to perform an action or trigger an event at a later time. This information includes the method name,
7
+ * the object that owns the method and values for the method parameters.
8
* <p>
9
* Four terms always associated with the command pattern are command, receiver, invoker and client. A command
10
* object (spell) knows about the receiver (target) and invokes a method of the receiver. Values for parameters of
0 commit comments