Learn R Programming

geonode4R (version 0.1-2)

GeoNodeVersion: A GeoNode version

Description

This class allows to grab the GeoNode version.

Arguments

Value

Object of R6Class for modelling a GeoNode version

Format

R6Class object.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

version

version

value

value

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.

Details

GeoNode REST API - GeoNode Version

Examples

Run this code
if (FALSE) {
version <- GeoNodeVersion$new(
             url = "http://localhost:8080/GeoNode",
             user = "admin", pwd = "GeoNode"
           )
}

Run the code above in your browser using DataLab