Class ScaffoldManifestIo
java.lang.Object
network.ike.plugin.scaffold.ScaffoldManifestIo
Read a scaffold manifest from YAML.
The manifest is shipped by ike-build-standards; the
scaffold plugin never writes it, only reads it. Parsing is lenient
about extra top-level keys (future extensions) but strict about
every key that drives behaviour.
Raw adapter-specific configuration (under keys like
ensure, never-touch, block-begin,
block-end, create-source) is preserved verbatim in
ManifestEntry.extras() so tier handlers and model adapters
can parse their own subtrees.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScaffoldManifestParse a manifest from aReader.static ScaffoldManifestParse a manifest from a file path.
-
Method Details
-
read
Parse a manifest from a file path.- Parameters:
path- path to the YAML manifest- Returns:
- the parsed manifest
- Throws:
ScaffoldException- if the file cannot be read, is empty, has an unsupported schema version, or contains an invalid entry
-
read
Parse a manifest from aReader.- Parameters:
reader- source of YAML text- Returns:
- the parsed manifest
-