Package org.nuxeo.launcher.config
Class JVMVersion
java.lang.Object
org.nuxeo.launcher.config.JVMVersion
- All Implemented Interfaces:
Comparable<JVMVersion>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
compareTo
(JVMVersion o, JVMVersion.UpTo upTo) static JVMVersion
static JVMVersion
static JVMVersion
parsePreJdk9
(String version) toString()
-
Field Details
-
major
public final int major -
update
public final int update
-
-
Constructor Details
-
JVMVersion
public JVMVersion(int major, int minor)
-
-
Method Details
-
compareTo
-
compareTo
- Specified by:
compareTo
in interfaceComparable<JVMVersion>
-
toString
-
parse
- Throws:
ParseException
-
parsePreJdk9
- Throws:
ParseException
-
parseJdk9
- Throws:
ParseException
-