ConfigUnitFacade

Base class for facade classes managing one ConfigUnitDataModel instance.

A ConfigUnitFacade is a special facade class that manages the whole configuration data of a configurable unit represented by a ConfigUnitDataModel instance.

All configurable unit facades in the system inherit from this class.

Inherits from: Facade: The base facade class.

Member Functions:

data (read-only)

Returns the data model associated with the configurable unit.

Returns

ConfigUnitDataModel

create_runtime_copy

create_runtime_copy()

Creates a copy of this object referencing the same API and implementation configuration but with a deep copy of the runtime configuration data.

Returns

"ConfigUnitFacade" — A new instance of the configurable unit facade with a deep copy of its runtime configuration data.

export

export(output_path: str)

Export this configurable unit facade to the given output path.

Parameters
Name Type Description

output_path

str

Folder path where exported files are written.

Returns

ExportedFiles — A mapping of exported file stems to their serialized content.

Raises:

  • ValueError — If output_path is empty or invalid.

  • RuntimeError — If filesystem operations fail during export.