#354 Add maven model for feature toggle design pattern

This commit is contained in:
Joseph McCarthy
2016-01-25 21:14:24 +00:00
parent cf10bd1d05
commit d7526fc7c0
86 changed files with 1165 additions and 270 deletions

View File

@@ -9,18 +9,20 @@ tags:
- Difficulty-Beginner
---
**Intent:** Specification pattern separates the statement of how to match a
## Intent
Specification pattern separates the statement of how to match a
candidate, from the candidate object that it is matched against. As well as its
usefulness in selection, it is also valuable for validation and for building to
order
![alt text](./etc/specification.png "Specification")
**Applicability:** Use the Specification pattern when
## Applicability
Use the Specification pattern when
* you need to select a subset of objects based on some criteria, and to refresh the selection at various times
* you need to check that only suitable objects are used for a certain role (validation)
**Credits:**
## Credits
* [Martin Fowler - Specifications](http://martinfowler.com/apsupp/spec.pdf)