provs/doc/ProvTaskExecSequence.md

47 lines
828 B
Markdown
Raw Normal View History

2023-09-09 10:47:03 +00:00
```plantuml
@startuml
autonumber
participant Application
participant DesktopService
participant Install
participant Prov
participant Processor
Application -> Prov: create
activate Prov
Application -> DesktopService: provisionDesktop(prov, ...)
2023-09-09 11:01:28 +00:00
DesktopService -> Install: prov.aptInstall()
Install -> Prov: taskWithResult( lambda = cmd("sudo apt install ...") )
2023-09-09 10:47:03 +00:00
activate Prov
Prov -> Prov: evaluate
activate Prov
2023-09-09 11:01:28 +00:00
Prov -> Prov: initProgress (if level 0)
2023-09-09 10:47:03 +00:00
Prov -> Prov: progress
activate Prov
Prov -> Prov: lambda
activate Prov
2023-09-09 11:01:28 +00:00
2023-09-09 10:47:03 +00:00
Prov -> Processor: exec
Prov <-- Processor: exec
2023-09-09 11:01:28 +00:00
deactivate Prov
2023-09-09 10:47:03 +00:00
deactivate Prov
Prov -> Prov: endProgress (if level 0)
Prov -> Prov: printResults (if level 0)
deactivate Prov
deactivate Prov
2023-09-09 11:01:28 +00:00
2023-09-09 10:47:03 +00:00
Install <-- Prov: ProvResult
DesktopService <-- Install
Application <-- DesktopService
@enduml
```