Skip to content

Instantly share code, notes, and snippets.

@TLmaK0
Created February 10, 2018 09:05
Show Gist options
  • Save TLmaK0/7efa63d13fa49c85ec531075a20896a4 to your computer and use it in GitHub Desktop.
Save TLmaK0/7efa63d13fa49c85ec531075a20896a4 to your computer and use it in GitHub Desktop.
@startuml
class StreamRun {
+Char[40] name
+Boolean active
+Integer retry_count
+Selection state
+Datetime start_date
+Datetime end_date
+Selection mode
+Integer total_record_count
+execute()
+retry()
}
class Stream {
+Char name
+Char code
+Text
+ {static} run_by_code()
+ retry_all()
+ run_auto()
+ run_manual()
}
class StreamParameter {
+Char code
+Char value
}
class StreamData {
+Char name
}
abstract class Adapter
abstract class Importer
abstract class Exporter
Adapter <|-down- Importer
Adapter <|-down- Exporter
Stream "1" *-down- StreamRun : runs
StreamRun "1" *-down- StreamData : datas
StreamRun "0" *-down- StreamCR : log
StreamData "0" *-right- StreamCR : log
Stream "1" *-right- StreamParameter : parameters
Adapter "1" *- Stream
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment