Skip to content

arlas-web-core > "services/config.service" > ConfigService

Class: ConfigService

Hierarchy

ConfigService

Index

Constructors

Properties

Methods


Constructors

constructor

new ConfigService(): ConfigService

Defined in services/config.service.ts:31

Returns: ConfigService


Properties

confErrorBus

● confErrorBus: Subject<string> = new Subject()

Defined in services/config.service.ts:27

Bus of configuration error.


Methods

errorCallBack

errorCallBack(key: string): void

Defined in services/config.service.ts:50

Notify bus error.

Parameters:

Name Type
key string

Returns: void


getConfig

getConfig(): Object

Defined in services/config.service.ts:57

Get configuration object.

Returns: Object configuration Object


getValue

getValue(key: string): any

Defined in services/config.service.ts:38

Retrieve Value from key in configuration object.

Parameters:

Name Type
key string

Returns: any configuration value


setConfig

setConfig(config: Object): void

Defined in services/config.service.ts:64

Set configuration object.

Parameters:

Name Type Description
config Object Object

Returns: void