Class StructureMetadataLoader
java.lang.Object
com.pragma.archetype.infrastructure.adapter.out.template.StructureMetadataLoader
Loads structure metadata from structure.yml files in the template repository.
Parses architecture structure definitions including adapter paths, naming
conventions,
and layer dependencies.
-
Constructor Summary
ConstructorsConstructorDescriptionStructureMetadataLoader(TemplateContentProvider contentProvider) Creates a new StructureMetadataLoader. -
Method Summary
Modifier and TypeMethodDescriptionloadStructureMetadata(ArchitectureType architecture) Loads structure metadata for the specified architecture.
-
Constructor Details
-
StructureMetadataLoader
Creates a new StructureMetadataLoader.- Parameters:
contentProvider- Provider for template content
-
-
Method Details
-
loadStructureMetadata
Loads structure metadata for the specified architecture.- Parameters:
architecture- The architecture type to load metadata for- Returns:
- StructureMetadata containing parsed structure information
- Throws:
TemplateRepository.TemplateNotFoundException- if structure.yml cannot be found or parsed
-