This class is an utility wrap the Geonetwork version
Value
Object of R6Class
for modelling a GeoNetwork version
Details
GeoNetwork REST API - GeoNetwork Version
Author
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Public fields
version
version
value
value
Methods
Method new()
Initializes an object of class GNVersion
Method lowerThan()
Compares to a version and returns TRUE if it is lower, FALSE otherwise
Usage
GNVersion$lowerThan(version)
Returns
TRUE
if lower, FALSE
otherwise
Method greaterThan()
Compares to a version and returns TRUE if it is greater, FALSE otherwise
Usage
GNVersion$greaterThan(version)
Returns
TRUE
if lower, FALSE
otherwise
Method equalTo()
Compares to a version and returns TRUE if it is equal, FALSE otherwise
Usage
GNVersion$equalTo(version)
Returns
TRUE
if lower, FALSE
otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
GNVersion$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
# \dontrun{
version <- GNVersion$new("2.6.4")
# }