diff --git a/docs/diagrams/FindCommandClass.puml b/docs/diagrams/FindCommandClass.puml new file mode 100644 index 00000000000..880c821318a --- /dev/null +++ b/docs/diagrams/FindCommandClass.puml @@ -0,0 +1,37 @@ +@startuml + +hide circle +skinparam classAttributeIconSize 0 +skinparam classMethodAttributeIconSize 0 +hide empty methods + + +Class "<>\nModel" as Model +Class "{abstract}\nCommand" as Command +Class "{abstract}\nFindCommand" as FindCommand +Command : CommandResult execute(Model model) {abstract} + + +Model <.left. FindCommand +Class FindXYZCommand extends FindCommand +Class FindCommand extends Command +Class "{abstract}\nPredicate" as Predicate { + + boolean test(T t) {abstract} +} +Class "{abstract}\nTraitContainsKeywordPredicate" as TraitContainsKeywordPredicate +Class "XYZContainsKeywordsPredicate" as XYZContainsKeywordPredicate +Class TraitContainsKeywordPredicate implements Predicate +Class XYZContainsKeywordPredicate extends TraitContainsKeywordPredicate + +TraitContainsKeywordPredicate.up.>Predicate +FindXYZCommand -right-> XYZContainsKeywordPredicate + +hide FindCommand fields +hide Model fields +hide TraitContainsKeywordPredicate fields +hide FindXYZCommand fields +hide XYZContainsKeywordPredicate fields + + + +@enduml