Enum Class ArchitectureType
- All Implemented Interfaces:
Serializable,Comparable<ArchitectureType>,Constable
Supported architecture types for project generation.
Each type defines a different structural organization of the codebase.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHexagonal architecture with 3 modules: domain, application, infrastructure.Hexagonal architecture with granular modules.Hexagonal architecture with single module.Onion architecture with multiple modules.Onion architecture with single module. -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchitectureTypegetValue()booleanstatic ArchitectureTypeReturns the enum constant of this class with the specified name.static ArchitectureType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEXAGONAL_SINGLE
Hexagonal architecture with single module. All code in one module with clear package separation. -
HEXAGONAL_MULTI
Hexagonal architecture with 3 modules: domain, application, infrastructure. -
HEXAGONAL_MULTI_GRANULAR
Hexagonal architecture with granular modules. Each component (model, ports, usecase, adapters) is a separate module. -
ONION_SINGLE
Onion architecture with single module. -
ONION_MULTI
Onion architecture with multiple modules.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
fromValue
-
isMultiModule
public boolean isMultiModule()
-