ConfigUnitFacadeRegistration

Registration container pairing a configurable unit data model with its facade and factories.

Package plugins can expose registrations via PackagePlugin.get_config_unit_registrations() to allow lookup by configurable unit data model type.

Member Functions:

create_importer

create_importer(folder_path: str)

Create a configurable unit importer instance.

Parameters
Name Type Description

folder_path

str

Folder path containing serialized configurable unit data.

Returns

BaseConfigUnitJSONImporter[T] — A configurable unit importer produced by the configured importer factory.

create_facade

create_facade(name: str, data: T)

Create a facade instance.

Parameters
Name Type Description

name

str

Name to assign to the facade instance.

data

T

Configurable unit data model to wrap.

Returns

F — The facade instance returned by the configured facade factory.