Package org.jpatterns.gof
Annotation Type CommandPattern
-
@Retention(RUNTIME) @Target(TYPE) @Documented @DesignPattern(source=GoF, type=BEHAVIORAL, urls={"http://en.wikipedia.org/wiki/Command_pattern","http://home.earthlink.net/~huston2/dp/command.html"}, refactorings={ExtractParameterObject,ExtractMethodObject}, related={CompositePattern.class,MementoPattern.class,PrototypePattern.class}) public @interface CommandPattern
Intent [GoF, pg 233]: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.- Since:
- 2010-08-08
- Author:
- Michael Hunger
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
comment
java.lang.Class[]
participants
-