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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMajorVersion()
Returns the major version of the base module.String
getMinorVersion()
Returns the minor version of the base module.String
getModuleClass()
Returns the module class of the desired base module.String
getPatchLevel()
Returns the patchlevel version of the base module.
-
-
-
Method Detail
-
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.
-
-