Package com.forgerock.opendj.util
Class ManifestUtil
- java.lang.Object
-
- com.forgerock.opendj.util.ManifestUtil
-
public final class ManifestUtil extends Object
Utility methods reading information fromopendj-core's manifest.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetBundleVersion(String moduleName)Returns the bundle version contained in the module manifest whose name is provided.static StringgetVersionWithRevision(String moduleName)Returns the version with the revision contained in the module manifest whose name is provided.
-
-
-
Method Detail
-
getVersionWithRevision
public static String getVersionWithRevision(String moduleName)
Returns the version with the revision contained in the module manifest whose name is provided.- Parameters:
moduleName- The module name for which to retrieve the version number- Returns:
- the version with the revision contained in the module manifest whose name is provided.
-
getBundleVersion
public static String getBundleVersion(String moduleName)
Returns the bundle version contained in the module manifest whose name is provided.- Parameters:
moduleName- The module name for which to retrieve the version number- Returns:
- the bundle version contained in the module manifest whose name is provided.
-
-