Index

A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Serialized Form

A

AdapterConfig - Record Class in com.pragma.archetype.domain.model.adapter
Configuration for generating an output adapter.
AdapterConfig(String, String, AdapterType, String, List<AdapterMethod>) - Constructor for record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Creates an instance of a AdapterConfig record class.
AdapterGenerator - Class in com.pragma.archetype.application.generator
Generates output adapter files (Redis, MongoDB, etc.).
AdapterGenerator(TemplateRepository, FileSystemPort, PathResolver) - Constructor for class com.pragma.archetype.application.generator.AdapterGenerator
 
AdapterMetadata - Record Class in com.pragma.archetype.domain.model.adapter
Metadata describing an adapter's properties and dependencies.
AdapterMetadata(String, String, String, List<AdapterMetadata.Dependency>, List<AdapterMetadata.Dependency>, String, List<AdapterMetadata.ConfigurationClass>) - Constructor for record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Creates an instance of a AdapterMetadata record class.
AdapterMetadata.ConfigurationClass - Record Class in com.pragma.archetype.domain.model.adapter
Represents a configuration class to generate.
AdapterMetadata.Dependency - Record Class in com.pragma.archetype.domain.model.adapter
Represents a dependency (Maven/Gradle artifact).
AdapterMetadataLoader - Class in com.pragma.archetype.infrastructure.adapter.out.template
Loads adapter metadata from metadata.yml files in the template repository.
AdapterMetadataLoader(TemplateContentProvider) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.AdapterMetadataLoader
Creates a new AdapterMetadataLoader.
AdapterMethod - Record Class in com.pragma.archetype.domain.model.adapter
Represents a method in the adapter.
AdapterMethod(String, String, List<MethodParameter>) - Constructor for record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Creates an instance of a AdapterMethod record class.
adapterPaths() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns the value of the adapterPaths record component.
adaptersAsModules() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the adaptersAsModules record component.
AdapterType - Enum Class in com.pragma.archetype.domain.model.adapter
Type of adapter to generate.
AdapterValidator - Class in com.pragma.archetype.domain.service
Validates adapter generation requests.
AdapterValidator(FileSystemPort, ConfigurationPort, PackageValidator) - Constructor for class com.pragma.archetype.domain.service.AdapterValidator
 
addDependencyToModule(Path, String, String) - Method in class com.pragma.archetype.application.generator.ProjectGenerator
Updates a module's build.gradle.kts to add a dependency.
addedKeys() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Returns the value of the addedKeys record component.
addedKeysCount() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Gets the number of keys that were added.
addModuleToSettings(Path, String) - Method in class com.pragma.archetype.application.generator.ProjectGenerator
Updates settings.gradle.kts to include a new module.
allowedDependencies() - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Returns the value of the allowedDependencies record component.
appendToFile(Path, String) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Appends content to an existing file.
appendToFile(Path, String) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
applicationPropertiesTemplate() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the applicationPropertiesTemplate record component.
apply(Project) - Method in class com.pragma.archetype.infrastructure.config.CleanArchPlugin
 
applyConventions(String, String) - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Applies naming conventions to a component name.
applyVersionOverrides(List<AdapterMetadata.Dependency>, Map<String, String>) - Method in class com.pragma.archetype.domain.service.DependencyConflictDetector
Applies version overrides to a list of dependencies.
architecture() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the architecture record component.
architectureType() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns the value of the architectureType record component.
ArchitectureType - Enum Class in com.pragma.archetype.domain.model.project
Supported architecture types for project generation.
artifact() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Returns the value of the artifact record component.

B

BackupException(String) - Constructor for exception class com.pragma.archetype.domain.service.BackupService.BackupException
 
BackupException(String, Throwable) - Constructor for exception class com.pragma.archetype.domain.service.BackupService.BackupException
 
BackupService - Class in com.pragma.archetype.domain.service
Service for backing up and restoring files during generation operations.
BackupService(FileSystemPort) - Constructor for class com.pragma.archetype.domain.service.BackupService
 
BackupService.BackupException - Exception Class in com.pragma.archetype.domain.service
Exception thrown when backup operations fail.
basePackage() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the basePackage record component.
BODY - Enum constant in enum class com.pragma.archetype.domain.model.adapter.ParameterType
 
branch() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns the value of the branch record component.

C

cache() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns the value of the cache record component.
canDependOn(String, String) - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Checks if a layer can depend on another layer.
CleanArchPlugin - Class in com.pragma.archetype.infrastructure.config
Gradle plugin for Clean Architecture Generator.
CleanArchPlugin() - Constructor for class com.pragma.archetype.infrastructure.config.CleanArchPlugin
 
clear() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
Clears all cached templates.
clearCache() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.ClearTemplateCacheTask
 
ClearTemplateCacheTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task to clear the template cache.
ClearTemplateCacheTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.ClearTemplateCacheTask
 
com.pragma.archetype.application.generator - package com.pragma.archetype.application.generator
 
com.pragma.archetype.application.usecase - package com.pragma.archetype.application.usecase
 
com.pragma.archetype.domain.model.adapter - package com.pragma.archetype.domain.model.adapter
 
com.pragma.archetype.domain.model.config - package com.pragma.archetype.domain.model.config
 
com.pragma.archetype.domain.model.entity - package com.pragma.archetype.domain.model.entity
 
com.pragma.archetype.domain.model.file - package com.pragma.archetype.domain.model.file
 
com.pragma.archetype.domain.model.project - package com.pragma.archetype.domain.model.project
 
com.pragma.archetype.domain.model.structure - package com.pragma.archetype.domain.model.structure
 
com.pragma.archetype.domain.model.usecase - package com.pragma.archetype.domain.model.usecase
 
com.pragma.archetype.domain.model.validation - package com.pragma.archetype.domain.model.validation
 
com.pragma.archetype.domain.port.in - package com.pragma.archetype.domain.port.in
 
com.pragma.archetype.domain.port.out - package com.pragma.archetype.domain.port.out
 
com.pragma.archetype.domain.service - package com.pragma.archetype.domain.service
 
com.pragma.archetype.infrastructure.adapter.in.gradle - package com.pragma.archetype.infrastructure.adapter.in.gradle
 
com.pragma.archetype.infrastructure.adapter.out.config - package com.pragma.archetype.infrastructure.adapter.out.config
 
com.pragma.archetype.infrastructure.adapter.out.filesystem - package com.pragma.archetype.infrastructure.adapter.out.filesystem
 
com.pragma.archetype.infrastructure.adapter.out.http - package com.pragma.archetype.infrastructure.adapter.out.http
 
com.pragma.archetype.infrastructure.adapter.out.template - package com.pragma.archetype.infrastructure.adapter.out.template
 
com.pragma.archetype.infrastructure.config - package com.pragma.archetype.infrastructure.config
 
compile(String, String, String) - Static method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Creates a compile-scope dependency.
ConfigurationClass(String, String, String) - Constructor for record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Creates an instance of a ConfigurationClass record class.
configurationClasses() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the configurationClasses record component.
configurationExists(Path) - Method in interface com.pragma.archetype.domain.port.out.ConfigurationPort
Checks if a configuration file exists in the project.
configurationExists(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
 
ConfigurationPort - Interface in com.pragma.archetype.domain.port.out
Output port for reading and writing project configuration.
ConfigurationValidator - Class in com.pragma.archetype.domain.service
Domain service responsible for validating configuration files and metadata.
ConfigurationValidator(FileSystemPort, ConfigurationPort) - Constructor for class com.pragma.archetype.domain.service.ConfigurationValidator
 
conflicts() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Returns the value of the conflicts record component.
content() - Method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Returns the value of the content record component.
create(Path, String) - Static method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Creates a generic file with automatic type detection.
createBackup(Path, List<Path>) - Method in class com.pragma.archetype.domain.service.BackupService
Creates a backup of the specified files before modification.
createdAt() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the createdAt record component.
createDirectory(Path) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Creates a directory.
createDirectory(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 

D

deepMerge(Map<String, Object>, Map<String, Object>) - Method in class com.pragma.archetype.domain.service.YamlMerger
Performs deep merge of nested map structures.
defaultConfig() - Static method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Creates default production configuration.
DELETE - Enum constant in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
 
deleteBackup(Path, String) - Method in class com.pragma.archetype.domain.service.BackupService
Deletes a backup after successful generation.
deleteConfiguration(Path) - Method in interface com.pragma.archetype.domain.port.out.ConfigurationPort
Deletes the configuration file from the project.
deleteConfiguration(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
 
dependencies() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the dependencies record component.
Dependency(String, String, String, String) - Constructor for record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Creates an instance of a Dependency record class.
DependencyConflictDetector - Class in com.pragma.archetype.domain.service
Domain service responsible for detecting dependency conflicts.
DependencyConflictDetector() - Constructor for class com.pragma.archetype.domain.service.DependencyConflictDetector
 
dependencyOverrides() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the dependencyOverrides record component.
description() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the description record component.
detectFrameworkConflicts(String, List<AdapterMetadata.Dependency>) - Method in class com.pragma.archetype.domain.service.DependencyConflictDetector
Detects conflicts with framework dependencies.
detectVersionConflicts(List<AdapterMetadata.Dependency>, List<AdapterMetadata.Dependency>) - Method in class com.pragma.archetype.domain.service.DependencyConflictDetector
Detects version conflicts between existing and new dependencies.
DEVELOPER - Enum constant in enum class com.pragma.archetype.domain.model.config.TemplateMode
Developer mode: Load templates from local path or custom repository/branch.
developerConfig(String) - Static method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Creates developer configuration with local path.
developerConfig(String, String) - Static method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Creates developer configuration with custom repository and branch.
directoryExists(Path) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Checks if a directory exists.
directoryExists(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
downloadContent(String) - Method in interface com.pragma.archetype.domain.port.out.HttpClientPort
Downloads content from a URL.
downloadContent(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.http.OkHttpClientAdapter
 
downloadTemplate(TemplateConfig, String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.GitHubTemplateDownloader
Downloads a template file from the configured repository.

E

Endpoint - Record Class in com.pragma.archetype.domain.model.adapter
Represents an endpoint in the adapter.
Endpoint(String, HttpMethod, String, String, List<EndpointParameter>) - Constructor for record class com.pragma.archetype.domain.model.adapter.Endpoint
Creates an instance of a Endpoint record class.
EndpointParameter - Record Class in com.pragma.archetype.domain.model.adapter
Represents a parameter in an endpoint.
EndpointParameter(String, String, ParameterType) - Constructor for record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Creates an instance of a EndpointParameter record class.
endpoints() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns the value of the endpoints record component.
EntityConfig - Record Class in com.pragma.archetype.domain.model.entity
Configuration for generating a domain entity.
EntityConfig(String, List<EntityField>, boolean, String, String) - Constructor for record class com.pragma.archetype.domain.model.entity.EntityConfig
Compact constructor with defaults.
EntityConfig.EntityConfigBuilder - Class in com.pragma.archetype.domain.model.entity
Custom builder class to provide default values.
EntityConfigBuilder() - Constructor for class com.pragma.archetype.domain.model.entity.EntityConfig.EntityConfigBuilder
 
EntityField - Record Class in com.pragma.archetype.domain.model.entity
Represents a field in an entity.
EntityField(String, String, boolean) - Constructor for record class com.pragma.archetype.domain.model.entity.EntityField
Creates an instance of a EntityField record class.
EntityGenerator - Class in com.pragma.archetype.application.generator
Generator for domain entities.
EntityGenerator(TemplateRepository, FileSystemPort) - Constructor for class com.pragma.archetype.application.generator.EntityGenerator
 
entityName() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns the value of the entityName record component.
EntityValidator - Class in com.pragma.archetype.domain.service
Service for validating entity generation requests.
EntityValidator(FileSystemPort, ConfigurationPort) - Constructor for class com.pragma.archetype.domain.service.EntityValidator
 
equals(Object) - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.adapter.MethodParameter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.entity.EntityField
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.MethodParameter
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Indicates whether some other object is "equal to" this one.
errors() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Returns the value of the errors record component.
errors() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Returns the value of the errors record component.
errors() - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Returns the value of the errors record component.
errors() - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Returns the value of the errors record component.
errors() - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Returns the value of the errors record component.
errors() - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Returns the value of the errors record component.
execute(Path, AdapterConfig) - Method in class com.pragma.archetype.application.usecase.GenerateAdapterUseCaseImpl
 
execute(Path, AdapterConfig) - Method in interface com.pragma.archetype.domain.port.in.GenerateAdapterUseCase
Generates an output adapter with its implementation.
execute(Path, InputAdapterConfig) - Method in class com.pragma.archetype.application.usecase.GenerateInputAdapterUseCaseImpl
 
execute(Path, InputAdapterConfig) - Method in interface com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase
Generates an input adapter with its implementation.
execute(Path, ProjectConfig) - Method in class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl
Initializes a clean architecture project.
execute(Path, ProjectConfig) - Method in interface com.pragma.archetype.domain.port.in.InitializeProjectUseCase
Initializes a new project with the given configuration.
execute(Path, EntityConfig) - Method in class com.pragma.archetype.application.usecase.GenerateEntityUseCaseImpl
 
execute(Path, EntityConfig) - Method in interface com.pragma.archetype.domain.port.in.GenerateEntityUseCase
Generates a domain entity in the project.
execute(Path, UseCaseConfig) - Method in class com.pragma.archetype.application.usecase.GenerateUseCaseUseCaseImpl
 
execute(Path, UseCaseConfig) - Method in interface com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase
Generates a use case with its port interface and implementation.
exists(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
Checks if a template is cached.
exists(Path) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Checks if a path exists.
exists(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
extractRequiredVariables(String) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Extracts required variables from a template.
extractRequiredVariables(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Extracts required variables from a template by parsing FreeMarker expressions.

F

failure(String) - Static method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Creates a failed validation result with a single error.
failure(List<String>) - Static method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
 
failure(List<String>) - Static method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Creates a failed validation result with multiple errors.
failure(List<String>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
 
failure(List<String>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
 
failure(List<String>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
 
failure(List<String>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
 
fields() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns the value of the fields record component.
FileSystemPort - Interface in com.pragma.archetype.domain.port.out
Port for file system operations.
FileSystemPort.FileWriteException - Exception Class in com.pragma.archetype.domain.port.out
Exception thrown when file operations fail.
FileType - Enum Class in com.pragma.archetype.domain.model.file
Represents the type of a generated file.
FileWriteException(String) - Constructor for exception class com.pragma.archetype.domain.port.out.FileSystemPort.FileWriteException
 
FileWriteException(String, Throwable) - Constructor for exception class com.pragma.archetype.domain.port.out.FileSystemPort.FileWriteException
 
framework() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the framework record component.
Framework - Enum Class in com.pragma.archetype.domain.model.project
Supported frameworks for project generation.
FreemarkerTemplateRepository - Class in com.pragma.archetype.infrastructure.adapter.out.template
Adapter for template processing using Freemarker.
FreemarkerTemplateRepository(TemplateConfig) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Creates a repository with template configuration.
FreemarkerTemplateRepository(String) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Creates a repository with templates from a URL.
FreemarkerTemplateRepository(Path) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Creates a repository with templates from local filesystem.
FreemarkerTemplateRepository.TemplateProcessingException - Exception Class in com.pragma.archetype.infrastructure.adapter.out.template
Exception thrown when template processing fails.
fromValue(String) - Static method in enum class com.pragma.archetype.domain.model.project.ArchitectureType
 
fromValue(String) - Static method in enum class com.pragma.archetype.domain.model.project.Framework
 
fromValue(String) - Static method in enum class com.pragma.archetype.domain.model.project.Paradigm
 

G

generate(Path, AdapterConfig, ProjectConfig) - Method in class com.pragma.archetype.application.generator.AdapterGenerator
Generates adapter files based on configuration.
generate(Path, InputAdapterConfig) - Method in class com.pragma.archetype.application.generator.InputAdapterGenerator
Generates input adapter files based on configuration.
generate(Path, UseCaseConfig) - Method in class com.pragma.archetype.application.generator.UseCaseGenerator
Generates use case files based on configuration.
generateAdapter() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
GenerateAdapterUseCase - Interface in com.pragma.archetype.domain.port.in
Use case for generating output adapters (Redis, MongoDB, etc.).
GenerateAdapterUseCase.GenerationResult - Record Class in com.pragma.archetype.domain.port.in
Result of adapter generation.
GenerateAdapterUseCaseImpl - Class in com.pragma.archetype.application.usecase
Implementation of the GenerateAdapterUseCase.
GenerateAdapterUseCaseImpl(AdapterValidator, AdapterGenerator, ConfigurationPort, FileSystemPort, TemplateRepository, YamlConfigurationAdapter, BackupService) - Constructor for class com.pragma.archetype.application.usecase.GenerateAdapterUseCaseImpl
 
GeneratedFile - Record Class in com.pragma.archetype.domain.model.file
Represents a file to be generated.
GeneratedFile(Path, String, FileType) - Constructor for record class com.pragma.archetype.domain.model.file.GeneratedFile
Creates an instance of a GeneratedFile record class.
generatedFiles() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Returns the value of the generatedFiles record component.
generatedFiles() - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Returns the value of the generatedFiles record component.
generatedFiles() - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Returns the value of the generatedFiles record component.
generatedFiles() - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Returns the value of the generatedFiles record component.
generatedFiles() - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Returns the value of the generatedFiles record component.
generateEntity() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
generateEntity(Path, ProjectConfig, EntityConfig) - Method in class com.pragma.archetype.application.generator.EntityGenerator
Generates a domain entity.
GenerateEntityTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task for generating domain entities.
GenerateEntityTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
GenerateEntityUseCase - Interface in com.pragma.archetype.domain.port.in
Use case for generating domain entities.
GenerateEntityUseCase.GenerationResult - Record Class in com.pragma.archetype.domain.port.in
Result of entity generation.
GenerateEntityUseCaseImpl - Class in com.pragma.archetype.application.usecase
Implementation of GenerateEntityUseCase.
GenerateEntityUseCaseImpl(EntityValidator, EntityGenerator, ConfigurationPort, FileSystemPort) - Constructor for class com.pragma.archetype.application.usecase.GenerateEntityUseCaseImpl
 
generateInputAdapter() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
GenerateInputAdapterTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task for generating input adapters (entry points: REST controllers, GraphQL resolvers, etc.).
GenerateInputAdapterTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
GenerateInputAdapterUseCase - Interface in com.pragma.archetype.domain.port.in
Use case for generating input adapters (REST, GraphQL, etc.).
GenerateInputAdapterUseCase.GenerationResult - Record Class in com.pragma.archetype.domain.port.in
Result of input adapter generation.
GenerateInputAdapterUseCaseImpl - Class in com.pragma.archetype.application.usecase
Implementation of the GenerateInputAdapterUseCase.
GenerateInputAdapterUseCaseImpl(InputAdapterValidator, InputAdapterGenerator, ConfigurationPort, FileSystemPort) - Constructor for class com.pragma.archetype.application.usecase.GenerateInputAdapterUseCaseImpl
 
GenerateOutputAdapterTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task for generating output adapters (driven adapters: Redis, MongoDB, etc.).
GenerateOutputAdapterTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
generateProject(Path, ProjectConfig) - Method in class com.pragma.archetype.application.generator.ProjectGenerator
Generates the complete project structure based on configuration.
generateUseCase() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
GenerateUseCaseTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task for generating use cases.
GenerateUseCaseTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
GenerateUseCaseUseCase - Interface in com.pragma.archetype.domain.port.in
Use case for generating use cases (port and implementation).
GenerateUseCaseUseCase.GenerationResult - Record Class in com.pragma.archetype.domain.port.in
Result of use case generation.
GenerateUseCaseUseCaseImpl - Class in com.pragma.archetype.application.usecase
Implementation of the GenerateUseCaseUseCase.
GenerateUseCaseUseCaseImpl(UseCaseValidator, UseCaseGenerator, ConfigurationPort, FileSystemPort) - Constructor for class com.pragma.archetype.application.usecase.GenerateUseCaseUseCaseImpl
 
GenerationResult(boolean, List<GeneratedFile>, List<String>) - Constructor for record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Creates an instance of a GenerationResult record class.
GenerationResult(boolean, List<GeneratedFile>, List<String>) - Constructor for record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Creates an instance of a GenerationResult record class.
GenerationResult(boolean, List<GeneratedFile>, List<String>) - Constructor for record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Creates an instance of a GenerationResult record class.
GenerationResult(boolean, List<GeneratedFile>, List<String>) - Constructor for record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Creates an instance of a GenerationResult record class.
get(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
Gets cached template content.
GET - Enum constant in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
 
getAdapter() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.ValidateTemplatesTask
 
getAdapterName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
getAdapterName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
getAllConflicts() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Gets all conflicts as a single string.
getAllDependencies() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Gets all dependencies (runtime + test).
getAllErrors() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Gets all error messages as a single string.
getAllowedDependenciesFor(String) - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Gets all layers that a given layer can depend on.
getAllWarnings() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Gets all warning messages as a single string.
getArchitecture() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
getArchitecture() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.ValidateTemplatesTask
 
getCache() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.GitHubTemplateDownloader
Gets the cache instance.
getCacheDirectory() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
Gets the cache directory path.
getCacheSize() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
Gets the size of the cache in bytes.
getDownloader() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Gets the downloader instance (for testing or cache management).
getEffectiveBranch() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Gets the effective branch to use.
getEndpoints() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
getEntityName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
getEntityName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
getFields() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
getFirstError() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Gets the first error message, or empty string if valid.
getFramework() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
getFullyQualifiedName(String) - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Gets the fully qualified class name.
getGenerateImpl() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
getGeneratePort() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
getHasId() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
getIdType() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
getLocalPath() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Gets the resolved local path if in local mode.
getMethods() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
getMethods() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
getModules() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Gets the list of modules for multi-module architectures.
getPackageName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
getPackageName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
getPackageName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
getPackageName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
getPackageName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
getParadigm() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
getPrefix(String) - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Gets the prefix for a component type.
getResolvedSource() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Gets the resolved template source.
getSourceDescription() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Gets a description of the resolved source for logging.
getSuffix(String) - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Gets the suffix for a component type.
getTemplateContent(String) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Gets the raw content of a template without processing.
getTemplateContent(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
 
getTemplateContent(String) - Method in interface com.pragma.archetype.infrastructure.adapter.out.template.TemplateContentProvider
Gets the content of a template file.
getType() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
getType() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
getUseCaseName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
getUseCaseName() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
getValue() - Method in enum class com.pragma.archetype.domain.model.project.ArchitectureType
 
getValue() - Method in enum class com.pragma.archetype.domain.model.project.Framework
 
getValue() - Method in enum class com.pragma.archetype.domain.model.project.Paradigm
 
getVersionOverride(AdapterMetadata.Dependency, Map<String, String>) - Method in class com.pragma.archetype.domain.service.DependencyConflictDetector
Checks if a dependency override is configured for a given dependency.
GitHubTemplateDownloader - Class in com.pragma.archetype.infrastructure.adapter.out.template
Downloads templates from GitHub repository.
GitHubTemplateDownloader(HttpClientPort, TemplateCache) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.GitHubTemplateDownloader
 
GITIGNORE - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
GRADLE_BUILD - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
GRADLE_SETTINGS - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
gradleBuild(Path, String) - Static method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Creates a Gradle build file.
GRAPHQL - Enum constant in enum class com.pragma.archetype.domain.model.adapter.InputAdapterType
 
group() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Returns the value of the group record component.
GRPC - Enum constant in enum class com.pragma.archetype.domain.model.adapter.InputAdapterType
 

H

hasApplicationProperties() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Checks if this adapter has application properties template.
hasConfigurationClasses() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Checks if this adapter has configuration classes.
hasConflict(Map<String, Object>, Map<String, Object>, String) - Method in class com.pragma.archetype.domain.service.YamlMerger
Checks if merging overlay into base would cause a conflict for the given key.
hasConflicts() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Checks if there were any conflicts during the merge.
hasConventionsFor(String) - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Checks if conventions are defined for a component type.
hashCode() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.adapter.MethodParameter
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.entity.EntityField
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.MethodParameter
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Returns a hash code value for this object.
hashCode() - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Returns a hash code value for this object.
hasId() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns the value of the hasId record component.
hasLayerDependencies() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Checks if this structure has layer dependencies defined.
hasNamingConventions() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Checks if this structure has naming conventions defined.
hasTestDependencies() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Checks if this adapter has test dependencies.
hasWarnings() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Checks if there are warnings.
HEXAGONAL_MULTI - Enum constant in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Hexagonal architecture with 3 modules: domain, application, infrastructure.
HEXAGONAL_MULTI_GRANULAR - Enum constant in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Hexagonal architecture with granular modules.
HEXAGONAL_SINGLE - Enum constant in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Hexagonal architecture with single module.
HttpClientPort - Interface in com.pragma.archetype.domain.port.out
Port for HTTP client operations.
HttpClientPort.HttpDownloadException - Exception Class in com.pragma.archetype.domain.port.out
Exception thrown when HTTP download fails.
HttpDownloadException(String) - Constructor for exception class com.pragma.archetype.domain.port.out.HttpClientPort.HttpDownloadException
 
HttpDownloadException(String, Throwable) - Constructor for exception class com.pragma.archetype.domain.port.out.HttpClientPort.HttpDownloadException
 
HttpMethod - Enum Class in com.pragma.archetype.domain.model.adapter
HTTP method for REST endpoints.

I

idType() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns the value of the idType record component.
IMPERATIVE - Enum constant in enum class com.pragma.archetype.domain.model.project.Paradigm
Imperative programming with blocking I/O.
InitCleanArchTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task for initializing a clean architecture project.
InitCleanArchTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
InitializationResult(boolean, List<GeneratedFile>, List<String>) - Constructor for record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Creates an instance of a InitializationResult record class.
initializeProject() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
InitializeProjectUseCase - Interface in com.pragma.archetype.domain.port.in
Use case for initializing a new clean architecture project.
InitializeProjectUseCaseImpl - Class in com.pragma.archetype.application.usecase
Implementation of the Initialize Project use case.
InitializeProjectUseCaseImpl(ProjectValidator, ProjectGenerator, ConfigurationPort) - Constructor for class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl
 
InitializeProjectUseCaseImpl.InitializationResult - Record Class in com.pragma.archetype.application.usecase
Result of project initialization.
InputAdapterConfig - Record Class in com.pragma.archetype.domain.model.adapter
Configuration for generating an input adapter (REST, GraphQL, etc.).
InputAdapterConfig(String, String, InputAdapterType, String, List<Endpoint>) - Constructor for record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Creates an instance of a InputAdapterConfig record class.
InputAdapterGenerator - Class in com.pragma.archetype.application.generator
Generates input adapter files (REST controllers, GraphQL resolvers, etc.).
InputAdapterGenerator(TemplateRepository, FileSystemPort) - Constructor for class com.pragma.archetype.application.generator.InputAdapterGenerator
 
InputAdapterType - Enum Class in com.pragma.archetype.domain.model.adapter
Type of input adapter to generate.
InputAdapterValidator - Class in com.pragma.archetype.domain.service
Validates input adapter generation requests.
InputAdapterValidator(FileSystemPort, ConfigurationPort, PackageValidator) - Constructor for class com.pragma.archetype.domain.service.InputAdapterValidator
 
isAccessible(String) - Method in interface com.pragma.archetype.domain.port.out.HttpClientPort
Checks if a URL is accessible.
isAccessible(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.http.OkHttpClientAdapter
 
isFailure() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
 
isFailure() - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
 
isFailure() - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
 
isFailure() - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
 
isFailure() - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
 
isInvalid() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Checks if validation failed.
isLocalMode() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Checks if using local filesystem.
isLocalMode() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Checks if the resolved source is local mode (configured or auto-detected).
isMultiModule() - Method in enum class com.pragma.archetype.domain.model.project.ArchitectureType
 
isMultiModule() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Checks if this structure supports multiple modules.
isProjectEmpty(Path) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Checks if a directory is empty (only contains Gradle files).
isProjectEmpty(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
isRemoteMode() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Checks if using remote repository.
isRemoteMode() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Checks if the resolved source is remote mode.
isSuccess() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
 
isTestDependency() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Checks if this is a test dependency.

J

JAVA_SOURCE - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
javaSource(Path, String) - Static method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Creates a Java source file.

K

KAFKA - Enum constant in enum class com.pragma.archetype.domain.model.adapter.AdapterType
 
KOTLIN_SOURCE - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 

L

layerDependencies() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns the value of the layerDependencies record component.
LayerDependencies - Record Class in com.pragma.archetype.domain.model.structure
Defines allowed dependencies between architectural layers.
LayerDependencies(Map<String, List<String>>) - Constructor for record class com.pragma.archetype.domain.model.structure.LayerDependencies
Creates an instance of a LayerDependencies record class.
listFiles(Path) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Lists files in a directory.
listFiles(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
loadAdapterMetadata(String) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
loadAdapterMetadata(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.AdapterMetadataLoader
loadAdapterMetadata(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
 
loadAdapterMetadata(String, String, String, String) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Loads adapter metadata for a given adapter using framework-aware structure.
loadAdapterMetadata(String, String, String, String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.AdapterMetadataLoader
Loads adapter metadata for the specified adapter using framework-aware structure.
loadAdapterMetadata(String, String, String, String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
 
loadStructureMetadata(ArchitectureType) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Loads structure metadata for a given architecture type.
loadStructureMetadata(ArchitectureType) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
 
loadStructureMetadata(ArchitectureType) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.StructureMetadataLoader
Loads structure metadata for the specified architecture.
LOCAL_AUTO_DETECTED - Enum constant in enum class com.pragma.archetype.domain.model.config.TemplateSource
Templates loaded from auto-detected local path (../backend-architecture-design-archetype-generator-templates).
LOCAL_CONFIGURED - Enum constant in enum class com.pragma.archetype.domain.model.config.TemplateSource
Templates loaded from configured local path in .cleanarch.yml.
LocalFileSystemAdapter - Class in com.pragma.archetype.infrastructure.adapter.out.filesystem
Adapter for local file system operations.
LocalFileSystemAdapter() - Constructor for class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
localPath() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns the value of the localPath record component.

M

markdown(Path, String) - Static method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Creates a markdown file.
MARKDOWN - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
merge(Map<String, Object>, Map<String, Object>) - Method in class com.pragma.archetype.domain.service.YamlMerger
Merges overlay map into base map, preserving existing values.
merged() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Returns the value of the merged record component.
MergeResult - Record Class in com.pragma.archetype.domain.model.structure
Result of a YAML merge operation.
MergeResult(Map<String, Object>, List<String>, List<String>) - Constructor for record class com.pragma.archetype.domain.model.structure.MergeResult
Creates an instance of a MergeResult record class.
mergeYaml(Map<String, Object>, Map<String, Object>) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
Merges overlay YAML into base YAML, preserving existing values.
mergeYamlFile(Path, Map<String, Object>) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
Merges overlay YAML into an existing YAML file, preserving comments and structure.
method() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns the value of the method record component.
MethodParameter - Record Class in com.pragma.archetype.domain.model.adapter
Represents a parameter in an adapter method.
MethodParameter(String, String) - Constructor for record class com.pragma.archetype.domain.model.adapter.MethodParameter
Creates an instance of a MethodParameter record class.
MethodParameter(String, String) - Constructor for record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.MethodParameter
Creates an instance of a MethodParameter record class.
methods() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns the value of the methods record component.
mode() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns the value of the mode record component.
modules() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns the value of the modules record component.
MONGODB - Enum constant in enum class com.pragma.archetype.domain.model.adapter.AdapterType
 

N

name() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.adapter.MethodParameter
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.entity.EntityField
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.MethodParameter
Returns the value of the name record component.
name() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Returns the value of the name record component.
namingConventions() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns the value of the namingConventions record component.
NamingConventions - Record Class in com.pragma.archetype.domain.model.structure
Naming conventions for components in an architecture.
NamingConventions(Map<String, String>, Map<String, String>) - Constructor for record class com.pragma.archetype.domain.model.structure.NamingConventions
Creates an instance of a NamingConventions record class.
nullable() - Method in record class com.pragma.archetype.domain.model.entity.EntityField
Returns the value of the nullable record component.

O

OkHttpClientAdapter - Class in com.pragma.archetype.infrastructure.adapter.out.http
HTTP client adapter using OkHttp.
OkHttpClientAdapter() - Constructor for class com.pragma.archetype.infrastructure.adapter.out.http.OkHttpClientAdapter
 
ONION_MULTI - Enum constant in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Onion architecture with multiple modules.
ONION_SINGLE - Enum constant in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Onion architecture with single module.
OTHER - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 

P

packageName() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns the value of the packageName record component.
packageName() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns the value of the packageName record component.
packageName() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns the value of the packageName record component.
packagePath() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Returns the value of the packagePath record component.
packages() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns the value of the packages record component.
PackageValidator - Class in com.pragma.archetype.domain.service
Domain service responsible for validating Java package names and structure.
PackageValidator() - Constructor for class com.pragma.archetype.domain.service.PackageValidator
 
paradigm() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the paradigm record component.
Paradigm - Enum Class in com.pragma.archetype.domain.model.project
Programming paradigm for the generated project.
parameters() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Returns the value of the parameters record component.
parameters() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns the value of the parameters record component.
parameters() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Returns the value of the parameters record component.
ParameterType - Enum Class in com.pragma.archetype.domain.model.adapter
Type of parameter (path variable, request body, query param).
paramType() - Method in record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Returns the value of the paramType record component.
PATCH - Enum constant in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
 
path() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns the value of the path record component.
path() - Method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Returns the value of the path record component.
PATH - Enum constant in enum class com.pragma.archetype.domain.model.adapter.ParameterType
 
PathResolver - Interface in com.pragma.archetype.domain.port.out
Port for resolving paths in different architecture types.
PathResolverImpl - Class in com.pragma.archetype.domain.service
Implementation of PathResolver that handles path resolution and validation across different architecture types.
PathResolverImpl(TemplateRepository) - Constructor for class com.pragma.archetype.domain.service.PathResolverImpl
 
pluginVersion() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns the value of the pluginVersion record component.
POST - Enum constant in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
 
POSTGRESQL - Enum constant in enum class com.pragma.archetype.domain.model.adapter.AdapterType
 
prefixes() - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Returns the value of the prefixes record component.
processTemplate(String, Map<String, Object>) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Loads and processes a template with the given context.
processTemplate(String, Map<String, Object>) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
 
PRODUCTION - Enum constant in enum class com.pragma.archetype.domain.model.config.TemplateMode
Production mode: Load templates from GitHub repository with caching.
ProjectConfig - Record Class in com.pragma.archetype.domain.model.config
Configuration for a clean architecture project.
ProjectConfig(String, String, ArchitectureType, Paradigm, Framework, String, LocalDateTime, boolean, Map<String, String>) - Constructor for record class com.pragma.archetype.domain.model.config.ProjectConfig
Compact constructor with validation.
ProjectGenerator - Class in com.pragma.archetype.application.generator
Application service responsible for generating project structure.
ProjectGenerator(TemplateRepository, FileSystemPort) - Constructor for class com.pragma.archetype.application.generator.ProjectGenerator
 
ProjectValidator - Class in com.pragma.archetype.domain.service
Domain service responsible for validating project state before initialization.
ProjectValidator(FileSystemPort, ConfigurationPort) - Constructor for class com.pragma.archetype.domain.service.ProjectValidator
 
PROPERTIES_CONFIG - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
put(String, String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
Stores template content in cache.
PUT - Enum constant in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
 

Q

QUARKUS - Enum constant in enum class com.pragma.archetype.domain.model.project.Framework
Quarkus framework (future support).
QUERY - Enum constant in enum class com.pragma.archetype.domain.model.adapter.ParameterType
 

R

REACTIVE - Enum constant in enum class com.pragma.archetype.domain.model.project.Paradigm
Reactive programming with non-blocking I/O.
readConfiguration(Path) - Method in interface com.pragma.archetype.domain.port.out.ConfigurationPort
Reads the project configuration from the specified directory.
readConfiguration(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
 
readFile(Path) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Reads the content of a file.
readFile(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
readTemplateConfiguration(Path) - Method in interface com.pragma.archetype.domain.port.out.ConfigurationPort
Reads template configuration from .cleanarch.yml.
readTemplateConfiguration(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
Reads template configuration from .cleanarch.yml
readYaml(Path) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
Reads YAML file and returns it as a map.
REDIS - Enum constant in enum class com.pragma.archetype.domain.model.adapter.AdapterType
 
REMOTE - Enum constant in enum class com.pragma.archetype.domain.model.config.TemplateSource
Templates loaded from remote Git repository.
repository() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns the value of the repository record component.
resolveAdapterPath(ArchitectureType, String, String, Map<String, String>) - Method in interface com.pragma.archetype.domain.port.out.PathResolver
Resolves the path for an adapter based on architecture configuration.
resolveAdapterPath(ArchitectureType, String, String, Map<String, String>) - Method in class com.pragma.archetype.domain.service.PathResolverImpl
 
resolveAdapterPath(String, String) - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Resolves the path for an adapter based on its type and name.
resolveSource() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Resolves the template source based on configuration and filesystem state.
REST - Enum constant in enum class com.pragma.archetype.domain.model.adapter.InputAdapterType
 
REST_CLIENT - Enum constant in enum class com.pragma.archetype.domain.model.adapter.AdapterType
 
restoreBackup(Path, String) - Method in class com.pragma.archetype.domain.service.BackupService
Restores files from a backup.
returnType() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Returns the value of the returnType record component.
returnType() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns the value of the returnType record component.
returnType() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Returns the value of the returnType record component.

S

scope() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Returns the value of the scope record component.
setAdapter(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.ValidateTemplatesTask
 
setAdapterName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
setAdapterName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
setArchitecture(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
setArchitecture(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.ValidateTemplatesTask
 
setEndpoints(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
setEntityName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
setEntityName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
setFields(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
setFramework(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
setGenerateImpl(boolean) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
setGeneratePort(boolean) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
setHasId(boolean) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
setIdType(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
setMethods(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
setMethods(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
setPackageName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateEntityTask
 
setPackageName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
setPackageName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
setPackageName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
setPackageName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
setParadigm(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.InitCleanArchTask
 
setType(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
setType(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateOutputAdapterTask
 
setUseCaseName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateInputAdapterTask
 
setUseCaseName(String) - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.GenerateUseCaseTask
 
SPRING - Enum constant in enum class com.pragma.archetype.domain.model.project.Framework
Spring Boot framework.
StructureMetadata - Record Class in com.pragma.archetype.domain.model.structure
Metadata describing an architecture's structure and conventions.
StructureMetadata(String, Map<String, String>, NamingConventions, LayerDependencies, List<String>, List<String>) - Constructor for record class com.pragma.archetype.domain.model.structure.StructureMetadata
Creates an instance of a StructureMetadata record class.
StructureMetadataLoader - Class in com.pragma.archetype.infrastructure.adapter.out.template
Loads structure metadata from structure.yml files in the template repository.
StructureMetadataLoader(TemplateContentProvider) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.StructureMetadataLoader
Creates a new StructureMetadataLoader.
substitutePlaceholders(String, Map<String, String>) - Method in interface com.pragma.archetype.domain.port.out.PathResolver
Substitutes placeholders in a path template with actual values.
substitutePlaceholders(String, Map<String, String>) - Method in class com.pragma.archetype.domain.service.PathResolverImpl
 
success() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Returns the value of the success record component.
success() - Static method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Creates a successful validation result.
success() - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Returns the value of the success record component.
success() - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Returns the value of the success record component.
success() - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Returns the value of the success record component.
success() - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Returns the value of the success record component.
success(List<GeneratedFile>) - Static method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
 
success(List<GeneratedFile>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
 
success(List<GeneratedFile>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
 
success(List<GeneratedFile>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
 
success(List<GeneratedFile>) - Static method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
 
success(Map<String, Object>, List<String>) - Static method in record class com.pragma.archetype.domain.model.structure.MergeResult
Creates a merge result with no conflicts.
successWithWarnings(List<String>) - Static method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Creates a successful validation result with warnings.
suffixes() - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Returns the value of the suffixes record component.
suggestResolution(List<String>) - Method in class com.pragma.archetype.domain.service.DependencyConflictDetector
Suggests resolutions for detected conflicts.

T

TemplateCache - Class in com.pragma.archetype.infrastructure.adapter.out.template
Local cache for downloaded templates.
TemplateCache() - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.TemplateCache
 
TemplateConfig - Record Class in com.pragma.archetype.domain.model.config
Configuration for template repository.
TemplateConfig(TemplateMode, String, String, String, String, boolean) - Constructor for record class com.pragma.archetype.domain.model.config.TemplateConfig
Creates an instance of a TemplateConfig record class.
TemplateContentProvider - Interface in com.pragma.archetype.infrastructure.adapter.out.template
Provides template content from various sources (local filesystem, remote repository, etc.).
templateExists(TemplateConfig, String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.GitHubTemplateDownloader
Checks if a template exists in the repository.
templateExists(String) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Checks if a template exists.
templateExists(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
 
templateExists(String) - Method in interface com.pragma.archetype.infrastructure.adapter.out.template.TemplateContentProvider
Checks if a template exists at the specified path.
TemplateMode - Enum Class in com.pragma.archetype.domain.model.config
Mode for template loading.
TemplateNotFoundException(String) - Constructor for exception class com.pragma.archetype.domain.port.out.TemplateRepository.TemplateNotFoundException
 
templatePath() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Returns the value of the templatePath record component.
TemplateProcessingException(String, Throwable) - Constructor for exception class com.pragma.archetype.domain.port.out.TemplateRepository.TemplateProcessingException
 
TemplateProcessingException(String, Throwable) - Constructor for exception class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository.TemplateProcessingException
 
TemplateRepository - Interface in com.pragma.archetype.domain.port.out
Port for accessing and processing templates.
TemplateRepository.TemplateNotFoundException - Exception Class in com.pragma.archetype.domain.port.out
Exception thrown when a template is not found.
TemplateRepository.TemplateProcessingException - Exception Class in com.pragma.archetype.domain.port.out
Exception thrown when template processing fails.
TemplateSource - Enum Class in com.pragma.archetype.domain.model.config
Represents the source from which templates are loaded.
TemplateSourceException(String) - Constructor for exception class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver.TemplateSourceException
 
TemplateSourceException(String, Throwable) - Constructor for exception class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver.TemplateSourceException
 
TemplateSourceResolver - Class in com.pragma.archetype.infrastructure.adapter.out.template
Resolves the source from which templates should be loaded.
TemplateSourceResolver(TemplateConfig) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Creates a resolver with the given template configuration.
TemplateSourceResolver.TemplateSourceException - Exception Class in com.pragma.archetype.infrastructure.adapter.out.template
Exception thrown when template source resolution or validation fails.
TemplateValidator - Class in com.pragma.archetype.domain.service
Domain service responsible for validating templates.
TemplateValidator(TemplateRepository) - Constructor for class com.pragma.archetype.domain.service.TemplateValidator
 
test(String, String, String) - Static method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Creates a test-scope dependency.
testDependencies() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the testDependencies record component.
toCoordinate() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Gets the Maven coordinate string.
toString() - Method in record class com.pragma.archetype.application.usecase.InitializeProjectUseCaseImpl.InitializationResult
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.ConfigurationClass
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMethod
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.adapter.MethodParameter
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.config.ProjectConfig
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.entity.EntityConfig
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.entity.EntityField
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.structure.MergeResult
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.structure.NamingConventions
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.MethodParameter
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.port.in.GenerateAdapterUseCase.GenerationResult
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.port.in.GenerateEntityUseCase.GenerationResult
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.port.in.GenerateInputAdapterUseCase.GenerationResult
Returns a string representation of this record class.
toString() - Method in record class com.pragma.archetype.domain.port.in.GenerateUseCaseUseCase.GenerationResult
Returns a string representation of this record class.
type() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterConfig
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.adapter.EndpointParameter
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.adapter.MethodParameter
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.entity.EntityField
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Returns the value of the type record component.
type() - Method in record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.MethodParameter
Returns the value of the type record component.

U

updateTemplates() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.UpdateTemplatesTask
 
UpdateTemplatesTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task to update (re-download) templates from repository.
UpdateTemplatesTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.UpdateTemplatesTask
 
UseCaseConfig - Class in com.pragma.archetype.domain.model.usecase
Configuration for generating a use case.
UseCaseConfig() - Constructor for class com.pragma.archetype.domain.model.usecase.UseCaseConfig
 
UseCaseConfig.MethodParameter - Record Class in com.pragma.archetype.domain.model.usecase
Represents a parameter in a use case method.
UseCaseConfig.UseCaseMethod - Record Class in com.pragma.archetype.domain.model.usecase
Represents a method in the use case.
UseCaseGenerator - Class in com.pragma.archetype.application.generator
Generates use case files (port interface and implementation).
UseCaseGenerator(TemplateRepository, FileSystemPort) - Constructor for class com.pragma.archetype.application.generator.UseCaseGenerator
 
useCaseMethod() - Method in record class com.pragma.archetype.domain.model.adapter.Endpoint
Returns the value of the useCaseMethod record component.
UseCaseMethod(String, String, List<UseCaseConfig.MethodParameter>) - Constructor for record class com.pragma.archetype.domain.model.usecase.UseCaseConfig.UseCaseMethod
Creates an instance of a UseCaseMethod record class.
useCaseName() - Method in record class com.pragma.archetype.domain.model.adapter.InputAdapterConfig
Returns the value of the useCaseName record component.
UseCaseValidator - Class in com.pragma.archetype.domain.service
Validates use case generation requests.
UseCaseValidator(FileSystemPort, ConfigurationPort, PackageValidator) - Constructor for class com.pragma.archetype.domain.service.UseCaseValidator
 

V

valid() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Returns the value of the valid record component.
validate() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata
Validates that the metadata is complete and valid.
validate() - Method in record class com.pragma.archetype.domain.model.structure.StructureMetadata
Validates that all required fields are present.
validate(Path, AdapterConfig) - Method in class com.pragma.archetype.domain.service.AdapterValidator
Validates adapter configuration.
validate(Path, InputAdapterConfig) - Method in class com.pragma.archetype.domain.service.InputAdapterValidator
Validates input adapter configuration.
validate(Path, EntityConfig) - Method in class com.pragma.archetype.domain.service.EntityValidator
Validates that an entity can be generated in the project.
validate(Path, UseCaseConfig) - Method in class com.pragma.archetype.domain.service.UseCaseValidator
Validates use case configuration.
validateAdapter(String) - Method in class com.pragma.archetype.application.usecase.ValidateTemplateUseCaseImpl
 
validateAdapter(String) - Method in interface com.pragma.archetype.domain.port.in.ValidateTemplateUseCase
Validates templates for a specific adapter.
validateAdapterMetadata(AdapterMetadata) - Method in class com.pragma.archetype.domain.service.ConfigurationValidator
Validates adapter metadata (metadata.yml).
validateAdapterTemplates(String) - Method in class com.pragma.archetype.domain.service.TemplateValidator
Validates all templates for an adapter.
validateAll(Path) - Method in class com.pragma.archetype.application.usecase.ValidateTemplateUseCaseImpl
 
validateAll(Path) - Method in interface com.pragma.archetype.domain.port.in.ValidateTemplateUseCase
Validates all templates (architectures and adapters).
validateArchitecture(String) - Method in class com.pragma.archetype.application.usecase.ValidateTemplateUseCaseImpl
 
validateArchitecture(String) - Method in interface com.pragma.archetype.domain.port.in.ValidateTemplateUseCase
Validates templates for a specific architecture.
validateArchitectureTemplates(ArchitectureType) - Method in class com.pragma.archetype.domain.service.TemplateValidator
Validates all templates for an architecture.
validateBasePackageConsistency(String, String) - Method in class com.pragma.archetype.domain.service.PackageValidator
Validates that all packages in a project start with the base package.
validateDependency(String, String) - Method in record class com.pragma.archetype.domain.model.structure.LayerDependencies
Validates a dependency relationship.
validateForComponentGeneration(Path) - Method in class com.pragma.archetype.domain.service.ProjectValidator
Validates that a component can be generated in the project.
validateForInitialization(Path, ProjectConfig) - Method in class com.pragma.archetype.domain.service.ProjectValidator
Validates that the project can be initialized with clean architecture.
validatePackageFolderAlignment(String, Path) - Method in class com.pragma.archetype.domain.service.PackageValidator
Validates that package declaration matches the folder structure.
validatePackageName(String) - Method in class com.pragma.archetype.domain.service.PackageValidator
Validates a Java package name according to Java naming conventions.
validatePath(Path, ArchitectureType) - Method in interface com.pragma.archetype.domain.port.out.PathResolver
Validates that a path respects layer dependency rules.
validatePath(Path, ArchitectureType) - Method in class com.pragma.archetype.domain.service.PathResolverImpl
 
validateProjectConfig(Path) - Method in class com.pragma.archetype.domain.service.ConfigurationValidator
Validates the project configuration file (.cleanarch.yml).
validateRemoteRepository(TemplateConfig) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.GitHubTemplateDownloader
Validates that the remote repository and branch are accessible.
validateSource() - Method in class com.pragma.archetype.infrastructure.adapter.out.template.TemplateSourceResolver
Validates that the resolved source is accessible.
validateStructureMetadata(StructureMetadata) - Method in class com.pragma.archetype.domain.service.ConfigurationValidator
Validates structure metadata (structure.yml).
validateTemplate(String) - Method in interface com.pragma.archetype.domain.port.out.TemplateRepository
Validates a template for syntax errors and existence.
validateTemplate(String) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Validates a template for FreeMarker syntax errors.
validateTemplateConfig(TemplateConfig) - Method in class com.pragma.archetype.domain.service.ConfigurationValidator
Validates the template configuration section in .cleanarch.yml.
validateTemplates() - Method in class com.pragma.archetype.infrastructure.adapter.in.gradle.ValidateTemplatesTask
 
ValidateTemplatesTask - Class in com.pragma.archetype.infrastructure.adapter.in.gradle
Gradle task for validating templates.
ValidateTemplatesTask() - Constructor for class com.pragma.archetype.infrastructure.adapter.in.gradle.ValidateTemplatesTask
 
ValidateTemplateUseCase - Interface in com.pragma.archetype.domain.port.in
Use case for validating templates.
ValidateTemplateUseCaseImpl - Class in com.pragma.archetype.application.usecase
Implementation of ValidateTemplateUseCase.
ValidateTemplateUseCaseImpl(TemplateValidator) - Constructor for class com.pragma.archetype.application.usecase.ValidateTemplateUseCaseImpl
 
validateTemplateVariables(String, Set<String>) - Method in class com.pragma.archetype.domain.service.TemplateValidator
Validates template variables to check for undefined variables.
validateTemplateVariables(String, Set<String>) - Method in class com.pragma.archetype.infrastructure.adapter.out.template.FreemarkerTemplateRepository
Validates a template against a set of required variables.
ValidationResult - Record Class in com.pragma.archetype.domain.model.validation
Result of a validation operation.
ValidationResult(boolean, List<String>, List<String>) - Constructor for record class com.pragma.archetype.domain.model.validation.ValidationResult
Creates an instance of a ValidationResult record class.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.adapter.AdapterType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.adapter.InputAdapterType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.adapter.ParameterType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.config.TemplateMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.config.TemplateSource
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.file.FileType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.project.Framework
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pragma.archetype.domain.model.project.Paradigm
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.pragma.archetype.domain.model.adapter.AdapterType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.adapter.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.adapter.InputAdapterType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.adapter.ParameterType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.config.TemplateMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.config.TemplateSource
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.file.FileType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.project.ArchitectureType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.project.Framework
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pragma.archetype.domain.model.project.Paradigm
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in record class com.pragma.archetype.domain.model.adapter.AdapterMetadata.Dependency
Returns the value of the version record component.
version() - Method in record class com.pragma.archetype.domain.model.config.TemplateConfig
Returns the value of the version record component.

W

warnings() - Method in record class com.pragma.archetype.domain.model.validation.ValidationResult
Returns the value of the warnings record component.
WEBSOCKET - Enum constant in enum class com.pragma.archetype.domain.model.adapter.InputAdapterType
 
withConflicts(Map<String, Object>, List<String>, List<String>) - Static method in record class com.pragma.archetype.domain.model.structure.MergeResult
Creates a merge result with conflicts.
writeConfiguration(Path, ProjectConfig) - Method in interface com.pragma.archetype.domain.port.out.ConfigurationPort
Writes the project configuration to the specified directory.
writeConfiguration(Path, ProjectConfig) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
 
writeFile(GeneratedFile) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Writes a file to the file system.
writeFile(GeneratedFile) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
writeFiles(List<GeneratedFile>) - Method in interface com.pragma.archetype.domain.port.out.FileSystemPort
Writes multiple files to the file system.
writeFiles(List<GeneratedFile>) - Method in class com.pragma.archetype.infrastructure.adapter.out.filesystem.LocalFileSystemAdapter
 
writeYaml(Path, Map<String, Object>) - Method in class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
Writes a map to a YAML file with 2-space indentation.

Y

YAML_CONFIG - Enum constant in enum class com.pragma.archetype.domain.model.file.FileType
 
yamlConfig(Path, String) - Static method in record class com.pragma.archetype.domain.model.file.GeneratedFile
Creates a YAML configuration file.
YamlConfigurationAdapter - Class in com.pragma.archetype.infrastructure.adapter.out.config
Adapter for reading and writing project configuration in YAML format.
YamlConfigurationAdapter() - Constructor for class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
 
YamlConfigurationAdapter(YamlMerger) - Constructor for class com.pragma.archetype.infrastructure.adapter.out.config.YamlConfigurationAdapter
Constructor with YamlMerger dependency injection for testing.
YamlMerger - Class in com.pragma.archetype.domain.service
Service for intelligently merging YAML configurations.
YamlMerger() - Constructor for class com.pragma.archetype.domain.service.YamlMerger
 
A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Serialized Form