GSVersion | R Documentation |
This class allows to grab the GeoServer version. By default, a tentative is made to fetch version from web admin default page, since Geoserver REST API did not support GET operation for the Geoserver version in past releases of Geoserver.
R6Class
object.
Geoserver REST API - Geoserver Version
Object of R6Class
for modelling a GeoServer version
version
version
value
value
new()
Initializes an object of class GSVersion
GSVersion$new(url, user, pwd)
url
url
user
user
pwd
pwd
lowerThan()
Compares to a version and returns TRUE if it is lower, FALSE otherwise
GSVersion$lowerThan(version)
version
version
TRUE
if lower, FALSE
otherwise
greaterThan()
Compares to a version and returns TRUE if it is greater, FALSE otherwise
GSVersion$greaterThan(version)
version
version
TRUE
if greater, FALSE
otherwise
equalTo()
Compares to a version and returns TRUE if it is equal, FALSE otherwise
GSVersion$equalTo(version)
version
version
TRUE
if equal, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
GSVersion$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
## Not run:
version <- GSVersion$new(
url = "http://localhost:8080/geoserver",
user = "admin", pwd = "geoserver"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.