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 classAnApplicationModuleInformationfor the jMoleculesModuleannotation.static classAnApplicationModuleInformationthat inspects theApplicationModuleannotation. -
Method Summary
Modifier and TypeMethodDescriptionReturns all allowed dependencies.Returns the display name to be used to describe the module.static ApplicationModuleInformationof(JavaPackage javaPackage) Creates a newApplicationModuleInformationfor the givenJavaPackage.
-
Method Details
-
of
Creates a newApplicationModuleInformationfor 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.
-
getAllowedDependencies
Returns all allowed dependencies.- Returns:
- will never be null.
-