In package com.cdsap.talaiot.publisher.graphpublisher
class com.cdsap.talaiot.publisher.graphpublisher.GraphPublisherFactory
Generates Disks publishers instances depending on the GraphType passed as argument
Methods
abstract fun createPublisher(graphType: GraphPublisherType, logTracker: LogTracker, fileWriter: FileWriter, executor: Executor): DiskPublisher
Creates the DiskPublisher depending on the GraphType
Parameters:
-
graphType: GraphPublisherType
Type of the default Graphs implemented by the publisher
-
logTracker: LogTracker
LogTracker to print in console depending on the Mode
-
fileWriter: FileWriter
File I/O utility
-
executor: Executor
Executor to schedule a task in Background