Package com.mendix.core.conf
Class RuntimeVersion
- java.lang.Object
-
- com.mendix.core.conf.RuntimeVersion
-
- All Implemented Interfaces:
java.lang.Comparable<RuntimeVersion>
@Deprecated public class RuntimeVersion extends java.lang.Object implements java.lang.Comparable<RuntimeVersion>
Deprecated.since 9.24. UseCore.getRuntimeVersion()
instead.Represents the version of the runtime server.
-
-
Constructor Summary
Constructors Constructor Description RuntimeVersion(java.lang.String... versionNumber)
Deprecated.Creates a runtime version with the specified version parts.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(RuntimeVersion other)
Deprecated.Compares this object with the specified object for order.static java.lang.String
getImplementationVersion()
Deprecated.Returns the implementation version of the runtime server.static RuntimeVersion
getInstance()
Deprecated.Returns the current runtime version.static java.lang.String
getSpecificationVersion()
Deprecated.Returns the specification version of the runtime server.static RuntimeVersion
parse(java.lang.String version)
Deprecated.Parses a runtime version from the specified version string.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
getImplementationVersion
public static java.lang.String getImplementationVersion()
Deprecated.Returns the implementation version of the runtime server.- Returns:
- the implementation version
-
getSpecificationVersion
public static java.lang.String getSpecificationVersion()
Deprecated.Returns the specification version of the runtime server.- Returns:
- the specification version
-
parse
public static RuntimeVersion parse(java.lang.String version)
Deprecated.Parses a runtime version from the specified version string. The version parts must be separated by dots.- Parameters:
version
- the string to parse- Returns:
- the parsed result, or null if version was null
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(RuntimeVersion other)
Deprecated.Compares this object with the specified object for order.Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
- Specified by:
compareTo
in interfacejava.lang.Comparable<RuntimeVersion>
- Parameters:
other
- the version to compare to- See Also:
Comparable.compareTo(java.lang.Object)
-
getInstance
public static RuntimeVersion getInstance()
Deprecated.Returns the current runtime version.- Returns:
- the version of the current runtime server
-
-