Interface ApplicationModuleInformation
- All Known Implementing Classes:
ApplicationModuleInformation.JMoleculesModule
,ApplicationModuleInformation.SpringModulithModule
interface ApplicationModuleInformation
Abstraction for low-level module information. Used to support different annotations to configure metadata about a
module.
- Author:
- Oliver Drotbohm
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
AnApplicationModuleInformation
for the jMoleculesModule
annotation.static class
AnApplicationModuleInformation
that inspects theApplicationModule
annotation. -
Method Summary
Modifier and TypeMethodDescriptionReturns all allowed dependencies.Returns the display name to be used to describe the module.static ApplicationModuleInformation
of
(JavaPackage javaPackage) Creates a newApplicationModuleInformation
for the givenJavaPackage
.
-
Method Details
-
of
Creates a newApplicationModuleInformation
for the givenJavaPackage
.- Parameters:
javaPackage
- must not be null.- Returns:
- will never be null.
-
getDisplayName
Returns the display name to be used to describe the module.- Returns:
- will never be null.
-
getDeclaredDependencies
Returns all allowed dependencies.- Returns:
- will never be null.
-