GeoNodeVersion {geonode4R}R Documentation

A GeoNode version

Description

This class allows to grab the GeoNode version.

Format

R6Class object.

Details

GeoNode REST API - GeoNode Version

Value

Object of R6Class for modelling a GeoNode version

Public fields

version

version

value

value

Methods

Public methods


Method new()

Initializes an object of class GeoNodeVersion

Usage
GeoNodeVersion$new(url, user, pwd)
Arguments
url

url

user

user

pwd

pwd


Method lowerThan()

Compares to a version and returns TRUE if it is lower, FALSE otherwise

Usage
GeoNodeVersion$lowerThan(version)
Arguments
version

version

Returns

TRUE if lower, FALSE otherwise


Method greaterThan()

Compares to a version and returns TRUE if it is greater, FALSE otherwise

Usage
GeoNodeVersion$greaterThan(version)
Arguments
version

version

Returns

TRUE if greater, FALSE otherwise


Method equalTo()

Compares to a version and returns TRUE if it is equal, FALSE otherwise

Usage
GeoNodeVersion$equalTo(version)
Arguments
version

version

Returns

TRUE if equal, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage
GeoNodeVersion$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

## Not run: 
version <- GeoNodeVersion$new(
             url = "http://localhost:8080/GeoNode",
             user = "admin", pwd = "GeoNode"
           )

## End(Not run)


[Package geonode4R version 0.1 Index]