diff --git a/doc/ProvSequence.puml b/doc/ProvSequence.puml new file mode 100644 index 0000000..ec3e82d --- /dev/null +++ b/doc/ProvSequence.puml @@ -0,0 +1,35 @@ +@startuml +autonumber + +Application -> Prov: create + +activate Prov +Application -> DesktopService.kt: provisionDesktop(prov, ...) +DesktopService.kt -> Install.kt: aptInstall(prov, lambda=cmd "apt install", ..) +Install.kt -> Prov: taskWithResult + +activate Prov +Prov -> Prov: evaluate + +activate Prov +Prov -> Prov: initProgress (bei level 0) +Prov -> Prov: progress + +activate Prov +Prov -> Prov: lambda + +activate Prov +Prov -> Processor: exec +deactivate Prov + +Prov <-- Prov: ProvResult +deactivate Prov + +Prov -> Prov: endProgress (bei level 0) +Prov -> Prov: printResults (bei level 0) + +deactivate Prov +deactivate Prov +Install.kt <-- Prov: ProvResult + +@enduml \ No newline at end of file diff --git a/doc/dddWorkshop.puml b/doc/dddWorkshop.puml new file mode 100644 index 0000000..2e4c95b --- /dev/null +++ b/doc/dddWorkshop.puml @@ -0,0 +1,39 @@ +@startuml + +package application { + class desktopApplication + +} + +package ui { + class ProgressPrinter { + print(Progress) + } + class FinalResultPrinter { + print(ResultLine) + } +} +application ..> ui +ui ..> domain + +package domain { + class model + class ResultLine { + provResult + level + } + class ProvResult + interface Repository +} +application ..> domain + +package infrastructure { + class RepositoryImpl + class Prov { + registerProgressObserver + } +} +Repository ..> infrastructure + +using ..> used +@enduml \ No newline at end of file