public class VersionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FALLBACK_VERSION |
Constructor and Description |
---|
VersionUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
compareVersions(String version1,
String version2)
Similar to
StringUtils compareVersions, but supports the 'Development' version |
static String |
getJIPipeVersion()
The current version of JIPipe according to the Maven-proved information
|
static String |
getVersionString(Class<?> klass)
Returns a version string for a class
|
public static final String FALLBACK_VERSION
public static String getVersionString(Class<?> klass)
klass
- the classpublic static String getJIPipeVersion()
public static int compareVersions(String version1, String version2)
StringUtils
compareVersions, but supports the 'Development' versionversion1
- the first versionversion2
- the second versionCopyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.