parent
cfa62d0179
commit
49afc9327d
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 67 KiB |
@ -0,0 +1,100 @@
|
||||
@startuml
|
||||
|
||||
title __ENSYNC's Class Diagram__\n
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Execute {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Flow {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Main {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Tools {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncDirectory {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncFile {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncMap {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace ui {
|
||||
class com.olexyn.ensync.ui.Bridge {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace ui {
|
||||
class com.olexyn.ensync.ui.Controller {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace ui {
|
||||
class com.olexyn.ensync.ui.UI {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
com.olexyn.ensync.Flow .up.|> java.lang.Runnable
|
||||
com.olexyn.ensync.Flow o-- com.olexyn.ensync.Tools : tools
|
||||
com.olexyn.ensync.Tools o-- com.olexyn.ensync.Execute : x
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.Tools : tools
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.Execute : x
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.artifacts.SyncMap : syncMap
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.artifacts.SyncDirectory : thisSD
|
||||
com.olexyn.ensync.artifacts.SyncFile -up-|> java.io.File
|
||||
com.olexyn.ensync.artifacts.SyncFile o-- com.olexyn.ensync.artifacts.SyncDirectory : sd
|
||||
com.olexyn.ensync.artifacts.SyncMap o-- com.olexyn.ensync.Tools : tools
|
||||
com.olexyn.ensync.ui.Controller .up.|> javafx.fxml.Initializable
|
||||
com.olexyn.ensync.ui.Controller o-- com.olexyn.ensync.ui.Bridge : bridge
|
||||
com.olexyn.ensync.ui.UI .up.|> java.lang.Runnable
|
||||
com.olexyn.ensync.ui.UI -up-|> javafx.application.Application
|
||||
|
||||
|
||||
right footer
|
||||
|
||||
|
||||
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
|
||||
For more information about this tool, please contact philippe.mesmeur@gmail.com
|
||||
endfooter
|
||||
|
||||
@enduml
|
@ -0,0 +1,89 @@
|
||||
@startuml
|
||||
|
||||
title __ARTIFACTS's Class Diagram__\n
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncDirectory {
|
||||
+ listCreated : Map<String, SyncFile>
|
||||
+ listDeleted : Map<String, SyncFile>
|
||||
+ listModified : Map<String, SyncFile>
|
||||
+ path : String
|
||||
- flowState : String
|
||||
+ SyncDirectory()
|
||||
+ doCreate()
|
||||
+ doDelete()
|
||||
+ doModify()
|
||||
+ makeListCreated()
|
||||
+ makeListDeleted()
|
||||
+ makeListModified()
|
||||
+ readFreshState()
|
||||
+ readStateFile()
|
||||
+ writeStateFile()
|
||||
- copyModifDate()
|
||||
- deleteFile()
|
||||
- makeParentChain()
|
||||
- writeFile()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncDirectory.Info {
|
||||
- otherFilePath : String
|
||||
- otherParentFile : File
|
||||
- otherParentPath : String
|
||||
- thisFilePath : String
|
||||
- Info()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncFile {
|
||||
+ relativePath : String
|
||||
+ timeModifiedFromStateFile : long
|
||||
+ SyncFile()
|
||||
+ getTimeModified()
|
||||
+ getTimeModifiedFromStateFile()
|
||||
+ setTimeModifiedFromStateFile()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace artifacts {
|
||||
class com.olexyn.ensync.artifacts.SyncMap {
|
||||
+ name : String
|
||||
+ syncDirectories : Map<String, SyncDirectory>
|
||||
+ SyncMap()
|
||||
+ addDirectory()
|
||||
+ removeDirectory()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.Tools : tools
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.Execute : x
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.artifacts.SyncMap : syncMap
|
||||
com.olexyn.ensync.artifacts.SyncDirectory o-- com.olexyn.ensync.artifacts.SyncDirectory : thisSD
|
||||
com.olexyn.ensync.artifacts.SyncDirectory +-down- com.olexyn.ensync.artifacts.SyncDirectory.Info
|
||||
com.olexyn.ensync.artifacts.SyncFile -up-|> java.io.File
|
||||
com.olexyn.ensync.artifacts.SyncFile o-- com.olexyn.ensync.artifacts.SyncDirectory : sd
|
||||
com.olexyn.ensync.artifacts.SyncMap o-- com.olexyn.ensync.Tools : tools
|
||||
|
||||
|
||||
right footer
|
||||
|
||||
|
||||
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
|
||||
For more information about this tool, please contact philippe.mesmeur@gmail.com
|
||||
endfooter
|
||||
|
||||
@enduml
|
@ -0,0 +1,70 @@
|
||||
@startuml
|
||||
|
||||
title __ENSYNC's Class Diagram__\n
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Execute {
|
||||
+ execute()
|
||||
+ execute()
|
||||
+ executeBatch()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Execute.TwoBr {
|
||||
+ error : BufferedReader
|
||||
+ output : BufferedReader
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Flow {
|
||||
- state : String
|
||||
+ getState()
|
||||
+ run()
|
||||
- readOrMakeStateFile()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Main {
|
||||
{static} + FLOW_THREAD : Thread
|
||||
{static} + MAP_OF_SYNCMAPS : HashMap<String, SyncMap>
|
||||
{static} + UI_THREAD : Thread
|
||||
{static} + main()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
class com.olexyn.ensync.Tools {
|
||||
+ Tools()
|
||||
+ brToListString()
|
||||
+ brToString()
|
||||
+ fileToLines()
|
||||
+ mapMinus()
|
||||
+ stateFilePath()
|
||||
+ stringListToSb()
|
||||
+ writeSbToFile()
|
||||
+ writeStringListToFile()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
com.olexyn.ensync.Execute +-down- com.olexyn.ensync.Execute.TwoBr
|
||||
com.olexyn.ensync.Flow .up.|> java.lang.Runnable
|
||||
com.olexyn.ensync.Flow o-- com.olexyn.ensync.Tools : tools
|
||||
com.olexyn.ensync.Tools o-- com.olexyn.ensync.Execute : x
|
||||
|
||||
|
||||
right footer
|
||||
|
||||
|
||||
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
|
||||
For more information about this tool, please contact philippe.mesmeur@gmail.com
|
||||
endfooter
|
||||
|
||||
@enduml
|
@ -0,0 +1,59 @@
|
||||
@startuml
|
||||
|
||||
title __UI's Class Diagram__\n
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace ui {
|
||||
class com.olexyn.ensync.ui.Bridge {
|
||||
~ addDirectory()
|
||||
~ newCollection()
|
||||
~ removeCollection()
|
||||
~ removeDirectory()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace ui {
|
||||
class com.olexyn.ensync.ui.Controller {
|
||||
# gridPane : GridPane
|
||||
{static} ~ COLUMN_COUNT : int
|
||||
{static} ~ SPACE : Text
|
||||
~ collection_count : int
|
||||
+ initialize()
|
||||
- addDirectory()
|
||||
- insertPayload()
|
||||
- newCollection()
|
||||
- redraw()
|
||||
- removeCollection()
|
||||
- removeDirectory()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
namespace com.olexyn.ensync {
|
||||
namespace ui {
|
||||
class com.olexyn.ensync.ui.UI {
|
||||
+ run()
|
||||
+ start()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
com.olexyn.ensync.ui.Controller .up.|> javafx.fxml.Initializable
|
||||
com.olexyn.ensync.ui.Controller o-- com.olexyn.ensync.ui.Bridge : bridge
|
||||
com.olexyn.ensync.ui.UI .up.|> java.lang.Runnable
|
||||
com.olexyn.ensync.ui.UI -up-|> javafx.application.Application
|
||||
|
||||
|
||||
right footer
|
||||
|
||||
|
||||
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
|
||||
For more information about this tool, please contact philippe.mesmeur@gmail.com
|
||||
endfooter
|
||||
|
||||
@enduml
|
@ -0,0 +1,14 @@
|
||||
@startuml
|
||||
|
||||
title __FILES's Class Diagram__\n
|
||||
|
||||
|
||||
|
||||
right footer
|
||||
|
||||
|
||||
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
|
||||
For more information about this tool, please contact philippe.mesmeur@gmail.com
|
||||
endfooter
|
||||
|
||||
@enduml
|
Loading…
Reference in new issue