Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for both ConsistentConfiguration and InconsistentConfiguration.

It is the returned value of the function mergeConfiguration.

Type parameters

  • T

    type of the module's PersistentData

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new ConfigurationStatus<T>(original: T, newAttributes: any, result: T, intrus?: string[]): ConfigurationStatus<T>
  • Type parameters

    • T

    Parameters

    • original: T

      static persistent data (e.g. in Flux applications: the one defined from the settings panel of the module)

    • newAttributes: any

      the attributes that have been requested to be updated (e.g. those returned in the configuration part returned by an adaptor)

    • result: T

      the result of merging original with newAttributes

    • intrus: string[] = ...

      a list of intrus: fields in newAttributes that are actually not part of the original persistent data. The values of the array are the path to the attributes.

    Returns ConfigurationStatus<T>

Properties

Readonly intrus

intrus: string[] = ...

Readonly newAttributes

newAttributes: any

Readonly original

original: T

Readonly result

result: T

Generated using TypeDoc