public class Version extends Version
Version
.for fallback in case of parse error
classifier, major, minor, patch, snapshot, SNAPSHOT, SPECIAL_CLASSIFIER, specialClassifier, ZERO
Modifier | Constructor and Description |
---|---|
|
Version(int major) |
|
Version(int major,
int minor) |
|
Version(int major,
int minor,
int patch) |
|
Version(int major,
int minor,
int patch,
String classifier) |
protected |
Version(String version)
Prefer use of
parse(String) |
Modifier and Type | Method and Description |
---|---|
static Version |
parse(String string)
Fallback on
OldVersion in case of parsing error (
OldVersion was more tolerant even if not compliant with Nuxeo
versioning). |
classifier, compareTo, equals, equalsTo, greaterOrEqualThan, greaterThan, hashCode, isSnapshot, isSpecialClassifier, lessOrEqualsThan, lessThan, major, minor, patch, setClassifier, setSnapshot, toString
protected Version(String version)
parse(String)
version
- public Version(int major)
public Version(int major, int minor)
public Version(int major, int minor, int patch)
public Version(int major, int minor, int patch, String classifier)
public static Version parse(String string)
OldVersion
in case of parsing error (
OldVersion
was more tolerant even if not compliant with Nuxeo
versioning).Copyright © 2016 Nuxeo SA. All Rights Reserved.