Interface ModuleInfo
- All Known Subinterfaces:
Module
- All Known Implementing Classes:
AbstractModule
,DefaultModuleInfo
public interface ModuleInfo
The Module info class encapsulates metadata about a given module. It holds the list of dependencies and the module
version and description.
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionReturns the major version of the base module.Returns the minor version of the base module.Returns the module class of the desired base module.Returns the patchlevel version of the base module.
-
Method Details
-
getModuleClass
String getModuleClass()Returns the module class of the desired base module.- Returns:
- The module class.
-
getMajorVersion
String getMajorVersion()Returns the major version of the base module. The string should contain a compareable character sequence so that higher versions of the module are considered greater than lower versions.- Returns:
- The major version of the module.
-
getMinorVersion
String getMinorVersion()Returns the minor version of the base module. The string should contain a compareable character sequence so that higher versions of the module are considered greater than lower versions.- Returns:
- The minor version of the module.
-
getPatchLevel
String getPatchLevel()Returns the patchlevel version of the base module. The patch level should be used to mark bugfixes. The string should contain a compareable character sequence so that higher versions of the module are considered greater than lower versions.- Returns:
- The patch level version of the module.
-