public class ModuleVersion extends Object implements Comparable<ModuleVersion>
| Constructor and Description |
|---|
ModuleVersion(String versionString)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ModuleVersion o) |
boolean |
equals(Object o) |
List<Integer> |
getOrderedVersionNumbers()
Returns a list of ordered version numbers.
|
int |
hashCode() |
boolean |
isSnapshot()
Checks if the current version is a SNAPSHOT or not.
|
String |
toString() |
public ModuleVersion(String versionString)
versionString - the plain text representation of the module versionpublic int compareTo(ModuleVersion o)
compareTo in interface Comparable<ModuleVersion>public List<Integer> getOrderedVersionNumbers()
public boolean isSnapshot()
true if the current version is a SNAPSHOT; false otherwiseCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.