Class EntityValidator
java.lang.Object
com.pragma.archetype.domain.service.EntityValidator
Service for validating entity generation requests.
-
Constructor Summary
ConstructorsConstructorDescriptionEntityValidator(FileSystemPort fileSystemPort, ConfigurationPort configurationPort) -
Method Summary
Modifier and TypeMethodDescriptionvalidate(Path projectPath, EntityConfig config) Validates that an entity can be generated in the project.
-
Constructor Details
-
EntityValidator
-
-
Method Details
-
validate
Validates that an entity can be generated in the project.- Parameters:
projectPath- Path to the projectconfig- Entity configuration- Returns:
- Validation result
-