mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 10:13:46 +00:00
#354 Add maven model for feature toggle design pattern
This commit is contained in:
1 parent
cf10bd1d05
commit
d7526fc7c0
86 files changed
+1165
-270
No files matched your search
@@ -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
|
||||
|
||||

|
||||
|
||||
**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)
|
||||
Reference in new issue
Block a user