Strategy Pattern

Kind: pattern

Layer: Design Patterns Core

Aliases: Policy Pattern

Record: architecture:strategy-pattern

Severity: recommended

Scope: algorithm, policy, behavior

Canonical: Ontology

A design pattern that puts each interchangeable algorithm behind one interface, so the caller selects behavior by passing an object.

Listed in Architecture principles, after Dashboards and before Template Method Pattern.

Requires

Reinforces

Enables

Conflicts with

In tension with

Tensions

Violated by

Severity

Category

Refactors

Enabled by

Linked from