Home Manual Reference Source Test
import RuntimeConfig from 'atvise-scm/src/lib/RuntimeConfig.js'
public class | source

RuntimeConfig

Provides utility methods for adding runtime configuration to a stream of AtviseFile and extracting configuration from a NodeStream.

Static Member Summary

Static Public Members
public static get

The path where the runtime configuration will be stored.

Static Method Summary

Static Public Methods
public static

load(): Stream

Loads the runtime configuration from the file at RuntimeConfig.path and attaches it to streamed files.

public static

write(): Stream

Extracts the runtime configuration from a stream and writes it to a file at RuntimeConfig.path.

Static Public Members

public static get path: String source

The path where the runtime configuration will be stored.

Static Public Methods

public static load(): Stream source

Loads the runtime configuration from the file at RuntimeConfig.path and attaches it to streamed files.

Return:

Stream

A stream of AtviseFiles.

public static write(): Stream source

Extracts the runtime configuration from a stream and writes it to a file at RuntimeConfig.path.

Return:

Stream

Stream to get further transformed.