Home Manual Reference Source Test
import LintTransformer from 'atscm/src/transform/AlarmConfigTransformer.ts'
public class | source

LintTransformer

Extends:

src/lib/transform/PartialTransformer.js~PartialTransformer → LintTransformer

A transformer ensuring no invalid alarm condition filter nodes are pulled.

Method Summary

Public Methods
public

Returns true for all alarm condition filter nodes.

public

async transformFromDB(node: Node, undefined: undefined): Promise

Removes filter alarm condition filter nodes that have an invalid dataType.

public

Does nothing.

Public Methods

public shouldBeTransformed(node: Node): boolean source

Returns true for all alarm condition filter nodes.

Params:

NameTypeAttributeDescription
node Node

Return:

boolean

public async transformFromDB(node: Node, undefined: undefined): Promise source

Removes filter alarm condition filter nodes that have an invalid dataType.

Params:

NameTypeAttributeDescription
node Node
undefined undefined

Return:

Promise

public async transformFromFilesystem(): Promise source

Does nothing.

Return:

Promise