Package org.jpatterns.gof
Annotation Type TemplateMethodPattern
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @DesignPattern(type=BEHAVIORAL, related={FactoryMethodPattern.class,StrategyPattern.class}) public @interface TemplateMethodPattern
Intent [GoF, pg 325]: Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure.- Since:
- 2010-07-28
- Author:
- Heinz Kabutz
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
comment
java.lang.Class[]
participants
-