Package org.springframework.modulith
Annotation Interface ApplicationModule
Annotation to customize information of a
Modulith module.- Author:
- Oliver Drotbohm
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]List the names of modules that the module is allowed to depend on.The human readable name of the module to be used for display and documentation purposes.
-
Element Details
-
displayName
String displayNameThe human readable name of the module to be used for display and documentation purposes.- Returns:
- will never be null.
- Default:
- ""
-
allowedDependencies
String[] allowedDependenciesList the names of modules that the module is allowed to depend on. Shared modules defined inModulithwill be allowed, too. Names listed are local ones, unless the application has configuredModulithic.useFullyQualifiedModuleNames()to true. Explicit references toNamedInterfaces need to be separated by a double colon::, e.g.module::APIifmoduleis the logical module name andAPIis the name of the named interface.- Returns:
- will never be null.
- See Also:
- Default:
- {}
-