mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-15 06:21:29 +00:00
README updated.
This commit is contained in:
parent
823afa4273
commit
c4879bee02
@ -1,9 +1,13 @@
|
|||||||
## Gilded Rose Kata - Java
|
## Gilded Rose Kata - Java
|
||||||
|
|
||||||
### How to add a new updater
|
`$ mvn clean compile`
|
||||||
Within this version of Gilded Rose kata, template method pattern is used
|
|
||||||
|
|
||||||
From now on it is easy to add another standard, custom or legendary items to the shop.
|
`$ mvn clean verify`
|
||||||
|
|
||||||
|
### How to add a new updater
|
||||||
|
Within this version of Gilded Rose kata, updateQuality() method is refactored by using template method pattern.
|
||||||
|
|
||||||
|
From now on it is easy to add another **standard**, **custom** or **legendary** item to the shop.
|
||||||
How to do that;
|
How to do that;
|
||||||
|
|
||||||
* Add a new Updater class which extends either `StandardItemUpdater`, `CustomItemUpdater` or `LegendaryItemUpdater`
|
* Add a new Updater class which extends either `StandardItemUpdater`, `CustomItemUpdater` or `LegendaryItemUpdater`
|
||||||
Loading…
Reference in New Issue
Block a user