GraphPublisherFactoryImpl

In package com.cdsap.talaiot.publisher.graphpublisher

class com.cdsap.talaiot.publisher.graphpublisher.GraphPublisherFactoryImpl

Constructors

constructor()
Parameters:
  • No parameters

Methods

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