Skip to contents

Geoserver REST API Store

Geoserver REST API Store

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer store

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

geosapi::GSRESTResource -> GSAbstractStore

Public fields

full

whether store object is fully described

name

store name

enabled

if the store is enabled or not

description

store description

type

store type

workspace

workspace name

Methods

Inherited methods


Method new()

initializes an abstract store

Usage

GSAbstractStore$new(
  xml = NULL,
  storeType,
  type = NULL,
  name = NULL,
  description = "",
  enabled = TRUE
)

Arguments

xml

an object of class xml_node-class to create object from XML

storeType

store type

type

the type of coverage store

name

coverage store name

description

coverage store description

enabled

whether the store should be enabled or not. Default is TRUE


Method decode()

Decodes store from XML

Usage

GSAbstractStore$decode(xml)

Arguments

xml

object of class xml_node-class


Method setType()

Set type

Usage

GSAbstractStore$setType(type)

Arguments

type

type


Method setEnabled()

Set enabled

Usage

GSAbstractStore$setEnabled(enabled)

Arguments

enabled

enabled


Method setDescription()

Set description

Usage

GSAbstractStore$setDescription(description)

Arguments

description

description


Method clone()

The objects of this class are cloneable with this method.

Usage

GSAbstractStore$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.