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. Export goes through fsp_config_foundation.export_tool.ExportTool.

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.

prepare_export

prepare_export()

Refresh derived configuration data right before ExportTool writes this unit.

The default does nothing. Override it when a value in one configuration depends on how another configuration of the same unit is exported, for example a file name.