Interface TemplateSource
- All Known Implementing Classes:
DirectoryTemplateSource, MapTemplateSource
public interface TemplateSource
Source of scaffold template bytes, addressed by the string in
ManifestEntry.source().
In production this is backed by the ike-build-standards
scaffold zip unpacked at plugin validate time. Tests use an
in-memory map implementation.
-
Method Summary
-
Method Details
-
read
Read template bytes for a given source path.- Parameters:
source- the path declared in the manifest'ssourcefield- Returns:
- the template bytes
- Throws:
ScaffoldException- ifsourcedoes not exist in this template source
-