Class Version

java.lang.Object
ch.ivyteam.ivy.runtime.Version
All Implemented Interfaces:
Comparable<Version>

public final class Version extends Object implements Comparable<Version>
Version of the Axon Ivy runtime
Since:
9.3
API:
This is a public API.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Version(int major, int minor, int service)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Major part of the runtime version Example: If the version is 9.3.2 this method will return 9.
    int
    Minor part of the runtime version.
    int
    Service part of the runtime version.
  • Constructor Details

    • Version

      public Version(int major, int minor, int service)
      Parameters:
      major - major part of the version (9 of 9.3.2)
      minor - minor part of the version (3 of 9.3.2)
      service - service part of the version (2 of 9.3.2)
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
  • Method Details

    • major

      public int major()
      Major part of the runtime version Example: If the version is 9.3.2 this method will return 9.
      Returns:
      major version
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • minor

      public int minor()
      Minor part of the runtime version. Example: If the version is 9.3.2 this method will return 3.
      Returns:
      minor version
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.
    • service

      public int service()
      Service part of the runtime version. Example: If the version is 9.3.2 this method will return 2.
      Returns:
      service version
      API:
      This public API is available in IvyScript and Java. It has the visibility EXPERT.