Prev
1
2
3
4
5
6
7
8
9
Next
- Command Pattern
- Encapsulates a transaction or task
- May contain other related functionality, like Undo
- Can be stored, passed to other subsystems, etc
- Common Interface (like
execute()
)
- Context information is often passed as parameters
- Client code doesn't need to know what it does.