Update URM Version to 1.4.4 and regenerated all puml files
This commit is contained in:
@ -1,44 +1,10 @@
|
||||
@startuml
|
||||
package com.iluwatar.stepbuilder {
|
||||
interface AbilityStep {
|
||||
+ noAbilities() : BuildStep {abstract}
|
||||
+ noMoreAbilities() : BuildStep {abstract}
|
||||
+ withAbility(String) : AbilityStep {abstract}
|
||||
}
|
||||
interface BuildStep {
|
||||
+ build() : Character {abstract}
|
||||
}
|
||||
interface NameStep {
|
||||
+ name(String) : ClassStep {abstract}
|
||||
}
|
||||
-class CharacterSteps {
|
||||
- abilities : List<String>
|
||||
- fighterClass : String
|
||||
- name : String
|
||||
- spell : String
|
||||
- weapon : String
|
||||
- wizardClass : String
|
||||
- CharacterSteps()
|
||||
+ build() : Character
|
||||
+ fighterClass(fighterClass : String) : WeaponStep
|
||||
+ name(name : String) : ClassStep
|
||||
+ noAbilities() : BuildStep
|
||||
+ noMoreAbilities() : BuildStep
|
||||
+ noSpell() : BuildStep
|
||||
+ noWeapon() : BuildStep
|
||||
+ withAbility(ability : String) : AbilityStep
|
||||
+ withSpell(spell : String) : AbilityStep
|
||||
+ withWeapon(weapon : String) : AbilityStep
|
||||
+ wizardClass(wizardClass : String) : SpellStep
|
||||
}
|
||||
class App {
|
||||
- LOGGER : Logger {static}
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class CharacterStepBuilder {
|
||||
- CharacterStepBuilder()
|
||||
+ newBuilder() : NameStep {static}
|
||||
}
|
||||
class Character {
|
||||
- abilities : List<String>
|
||||
- fighterClass : String
|
||||
@ -61,24 +27,58 @@ package com.iluwatar.stepbuilder {
|
||||
+ setWizardClass(wizardClass : String)
|
||||
+ toString() : String
|
||||
}
|
||||
interface SpellStep {
|
||||
+ noSpell() : BuildStep {abstract}
|
||||
+ withSpell(String) : AbilityStep {abstract}
|
||||
class CharacterStepBuilder {
|
||||
- CharacterStepBuilder()
|
||||
+ newBuilder() : NameStep {static}
|
||||
}
|
||||
interface AbilityStep {
|
||||
+ noAbilities() : BuildStep {abstract}
|
||||
+ noMoreAbilities() : BuildStep {abstract}
|
||||
+ withAbility(String) : AbilityStep {abstract}
|
||||
}
|
||||
interface BuildStep {
|
||||
+ build() : Character {abstract}
|
||||
}
|
||||
-class CharacterSteps {
|
||||
- abilities : List<String>
|
||||
- fighterClass : String
|
||||
- name : String
|
||||
- spell : String
|
||||
- weapon : String
|
||||
- wizardClass : String
|
||||
- CharacterSteps()
|
||||
+ build() : Character
|
||||
+ fighterClass(fighterClass : String) : WeaponStep
|
||||
+ name(name : String) : ClassStep
|
||||
+ noAbilities() : BuildStep
|
||||
+ noMoreAbilities() : BuildStep
|
||||
+ noSpell() : BuildStep
|
||||
+ noWeapon() : BuildStep
|
||||
+ withAbility(ability : String) : AbilityStep
|
||||
+ withSpell(spell : String) : AbilityStep
|
||||
+ withWeapon(weapon : String) : AbilityStep
|
||||
+ wizardClass(wizardClass : String) : SpellStep
|
||||
}
|
||||
interface ClassStep {
|
||||
+ fighterClass(String) : WeaponStep {abstract}
|
||||
+ wizardClass(String) : SpellStep {abstract}
|
||||
}
|
||||
interface NameStep {
|
||||
+ name(String) : ClassStep {abstract}
|
||||
}
|
||||
interface SpellStep {
|
||||
+ noSpell() : BuildStep {abstract}
|
||||
+ withSpell(String) : AbilityStep {abstract}
|
||||
}
|
||||
interface WeaponStep {
|
||||
+ noWeapon() : BuildStep {abstract}
|
||||
+ withWeapon(String) : AbilityStep {abstract}
|
||||
}
|
||||
}
|
||||
App --+ CharacterStepBuilder
|
||||
WeaponStep ..+ CharacterStepBuilder
|
||||
ClassStep ..+ CharacterStepBuilder
|
||||
SpellStep ..+ CharacterStepBuilder
|
||||
CharacterSteps ..+ CharacterStepBuilder
|
||||
ClassStep ..+ CharacterStepBuilder
|
||||
AbilityStep ..+ CharacterStepBuilder
|
||||
NameStep ..+ CharacterStepBuilder
|
||||
BuildStep ..+ CharacterStepBuilder
|
||||
|
Reference in New Issue
Block a user