OpenNMS.js - v2.6.2-SNAPSHOT
    Preparing search index...

    Class OnmsVersion

    An OpenNMS version.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Construct a new version.

      Parameters

      • Optionalversion: string

        The numeric version.

      • OptionaldisplayVersion: string

        The full display version (including extra designators like x.x.x-SNAPSHOT).

      Returns OnmsVersion

    Properties

    version: string

    The numeric version (ex: 19.0.0).

    Accessors

    Methods

    • Returns true if this version is equal to the passed version.

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is greater than or equal to the passed version.

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is greater than the passed version.

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is less than or equal to the passed version.

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is less than the passed version.

      Parameters

      • compare: string = '0.0.0'

      Returns boolean