Skip to content

Commit d5f52ed

Browse files
committed
Improve Command Javadoc
1 parent a2f3d58 commit d5f52ed

File tree

1 file changed

+3
-1
lines changed
  • command/src/main/java/com/iluwatar/command

1 file changed

+3
-1
lines changed

command/src/main/java/com/iluwatar/command/App.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
/**
44
*
5-
* In Command pattern actions are objects that can be executed and undone.
5+
* 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.
68
* <p>
79
* Four terms always associated with the command pattern are command, receiver, invoker and client. A command
810
* object (spell) knows about the receiver (target) and invokes a method of the receiver. Values for parameters of

0 commit comments

Comments
 (0)