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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static 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.boolean
isOpen()
Returns whether the module is considered open.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.
-
isOpen
boolean isOpen()Returns whether the module is considered open.- Since:
- 1.2
- See Also:
-