Class RuntimeVersion

java.lang.Object
com.mendix.core.conf.RuntimeVersion
All Implemented Interfaces:
Comparable<RuntimeVersion>

@Deprecated public class RuntimeVersion extends Object implements Comparable<RuntimeVersion>
Deprecated.
since 9.24. Use Core.getRuntimeVersion() instead.
Represents the version of the runtime server.
  • Constructor Details

    • RuntimeVersion

      public RuntimeVersion(String... versionNumber)
      Deprecated.
      Creates a runtime version with the specified version parts.
      Parameters:
      versionNumber - the parts of the version number, from most significant to least significant
  • Method Details

    • getImplementationVersion

      public static String getImplementationVersion()
      Deprecated.
      Returns the implementation version of the runtime server.
      Returns:
      the implementation version
    • getSpecificationVersion

      public static String getSpecificationVersion()
      Deprecated.
      Returns the specification version of the runtime server.
      Returns:
      the specification version
    • parse

      public static RuntimeVersion parse(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 String toString()
      Deprecated.
      Overrides:
      toString in class 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 interface Comparable<RuntimeVersion>
      Parameters:
      other - the version to compare to
      See Also:
    • getInstance

      public static RuntimeVersion getInstance()
      Deprecated.
      Returns the current runtime version.
      Returns:
      the version of the current runtime server