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. -
Field Summary
Fields
-
Field Details
-
OPEN_TOKEN
- See Also:
-
-
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 inModulith/Modulithicwill 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.Declaring an empty array will allow no dependencies to other modules. To not restrict the dependencies at all, leave the attribute at its default value.
- Returns:
- will never be null.
- See Also:
- Default:
- {"\u00af\\_(\u30c4)_/\u00af"}
-