TaskGraphWriter

In package com.cdsap.talaiot.writer

class com.cdsap.talaiot.writer.TaskGraphWriter

Implementation of FileWriter to writes bytes to a file

Fields

var project:

Gradle Project used to retrieve the extension

var logTracker: LogTracker

LogTracker to print in console depending on the Mode

Constructors

constructor(project: , logTracker: LogTracker)

Implementation of FileWriter to writes bytes to a file

Parameters:

Methods

fun prepareFile(content: Any, name: String)

Previous step where it will invoke the creation of the file depending on the Publisher and the way we want to write on disk

Parameters:
  • content: Any

    it contains the data formatted to be persisted. The implementation gives the specific type

  • name: String

    filename