Namespace: Consultingwerk.OERA.RestResource
Class 
RestResourcesJsonWriter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.OERA.RestResource.IRestResourcesWriter

File:RestResourcesJsonWriter
Purpose:Writes Rest resources (rest addresses, rest methods, business task methods) to a JSON file
Author(s):Peter Judge / Consultingwerk Ltd.
Created:Wed Jul 27 16:54:28 CEST 2022
Notes:- The file name defaults to the value of the restResourcesCacheFile property, but can also be
be passed by constructor.
- The expected format of the JSON file is described in Consultingwerk.OERA.RestResource.RestResources
Purpose: Specifies the file to write the JSON resources
Notes: By default this value is taken from the configuration



Top Method Summary
Options Name Purpose
+ Write (RestResources) Writes rest resources to JSON file

Top Constructor Summary
Options Name Purpose
+ RestResourcesJsonWriter () Default constructor
+ RestResourcesJsonWriter (character) Constructor

Top Property Summary
Options Name Purpose
+ CHARACTER FileName


Method Detail
Top

PUBLIC Write (RestResources)

Purpose: Writes rest resources to JSON file
Notes:

Parameters:
poRestResources Consultingwerk.OERA.RestResource.RestResources
: RestResources


Constructor Detail
Top

PUBLIC RestResourcesJsonWriter ()

Purpose: Default constructor
Notes:

Top

PUBLIC RestResourcesJsonWriter (character)

Purpose: Constructor
Notes:

Parameters:
pcCacheFile CHARACTER
: The file name that contains the REST resources


Property Detail
Top

PUBLIC CHARACTER FileName


Returns CHARACTER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:00:30