Template Method Pattern

Overview

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.

Participants

AbstractClass

ConcreteClass

Parameters

Implementor

Create Pattern Links

Applicability

The Template Method pattern should be used