/
githubmirror
/
java-design-patterns
Обзор
Документация
Войти
/
githubmirror
/
java-design-patterns
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
front-controller/etc/front-controller.urm.puml
53 строки
1 KB
Ilkka Seppälä
#1113 Add uml-reverse-mapper plugin
07 дек 2019, 19:03
07 дек 2019, 19:03
0685a50
Код
Авторство
О чём код?
@startuml package com.iluwatar.front.controller { class App { + App() + main(args : String[]) {static} } class ArcherCommand { + ArcherCommand() + process() } class ArcherView { - LOGGER : Logger {static} + ArcherView() + display() } class CatapultCommand { + CatapultCommand() + process() } class CatapultView { - LOGGER : Logger {static} + CatapultView() + display() } interface Command { + process() {abstract} } class ErrorView { - LOGGER : Logger {static} + ErrorView() + display() } class FrontController { + FrontController() - getCommand(request : String) : Command - getCommandClass(request : String) : Class<?> {static} + handleRequest(request : String) } class UnknownCommand { + UnknownCommand() + process() } interface View { + display() {abstract} } } ArcherCommand ..|> Command ArcherView ..|> View CatapultCommand ..|> Command CatapultView ..|> View ErrorView ..|> View UnknownCommand ..|> Command @enduml