OpenWGA 7.9 - TMLScript reference

WGA » WGA.Server
Property :

version

On object WGA.Server
Usage Returns the OpenWGA server version
Description

The version object is returned as Java object  de.innovationgate.wga.common.beans.csconfig.v1.Version.

The version object hosts the following properties:

  • version.majorVersion: First version number, the "major version" representing the OpenWGA base release
  • version.minorVersion: Second version number, the "minor version" representing the OpenWGA feature release
  • version.maintenanceVersion: Third version number, the "maintenance version" representing the number of maintenance release for the given base/feature release
  • version.patchVersion: Optional fourth version number, the "patch version" representing a patch on top of the given base/feature/maintenance release
  • version.isAtLeast(major, minor): Tests if the version is at least the given major/minor version
The string conversion of this object presents the complete version in a displayable format.
Writable False
Return value Version object (Java object de.innovationgate.wga.common.beans.csconfig.v1.Version)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events