Interface ApplicationModuleInformation
- All Known Implementing Classes:
ApplicationModuleInformationFactory.JMoleculesModule,ApplicationModuleInformationFactory.SpringModulithModule
public interface ApplicationModuleInformation
Abstraction for low-level module information. Used to support different annotations to configure metadata about a
module.
- Since:
- 1.4, previously package private.
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionReturns all allowed dependencies.Returns the display name to be used to describe the module.booleanisOpen()Returns whether the module is considered open.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.
-
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:
-