Interface ModelsBackend
- All Known Implementing Classes:
JsonModelsBackend
public interface ModelsBackend
Source of catalog
ModelSpecs behind the Models facade. Implementations
load specs from JSON, code, a database, or a composition; the default is
JsonModelsBackend, selected via ModelSettings.backendClass. A backend is
the immutable DEFAULTS layer - runtime mutation (learned limits) lives in the facade's
override layer, never written back here.- Since:
- 0.1 (2026-06-21)
- Author:
- Andrey Santrosyan
-
Method Summary
Modifier and TypeMethodDescriptionall()All catalog specs.pins()The deployment'sCatalogPinswhen the catalog source carries them, else null.
-
Method Details
-
spec
-
all
Collection<ModelSpec> all()All catalog specs. -
pins
CatalogPins pins()The deployment'sCatalogPinswhen the catalog source carries them, else null. A backend that loads from a source without a pins notion returns null and the default picker falls to its configured-entry rule for every grade.
-