CSC/ECE 517 Fall 2010/ch7 7e GS
Protected Variations Pattern
GRASP stands for General Responsibility Assignment Software Patterns and defines nine patterns, of which protected variations is one [1].
The protected variations pattern protects elements from the variations on other elements (objects, systems, subsystems) by wrapping the focus of instability with an interface and using polymorphism to create various implementations of this interface.[1]