Constructors
constructor
- new OnmsVersion(version?, displayVersion?): OnmsVersion
Parameters
Optional
version: stringOptional
displayVersion: string
Properties
Readonly
version
version: string
Accessors
displayVersion
- get displayVersion(): string
Returns string
Methods
eq
- eq(compare?): boolean
Parameters
- compare: string = '0.0.0'
Returns boolean
equals
- equals(that): boolean
Returns boolean
ge
- ge(compare?): boolean
Parameters
- compare: string = '0.0.0'
Returns boolean
gt
- gt(compare?): boolean
Parameters
- compare: string = '0.0.0'
Returns boolean
le
- le(compare?): boolean
Parameters
- compare: string = '0.0.0'
Returns boolean
lt
- lt(compare?): boolean
Parameters
- compare: string = '0.0.0'
Returns boolean
toString
- toString(): string
Returns string
An OpenNMS version.