FileConfigReader class

Abstract config reader that reads configuration from a file. Child classes add support for config files in their specific format like JSON, YAML or property files.

Configuration parameters

  • path: path to configuration file
  • parameters: this entire section is used as template parameters
  • ...

See IConfigReader See ConfigReader

Inheritance
Implementers

Constructors

FileConfigReader([String path ])
Creates a new instance of the config reader. [...]

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

configure(ConfigParams config) → void
Configures component by passing configuration parameters. [...]
override
getPath() → String
Get the path to configuration file.. [...]
setPath(String path) → void
Set the path to configuration file. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parameterize(String config, ConfigParams parameters) → String
Parameterized configuration template given as string with dynamic parameters. [...]
inherited
readConfig(String correlationId, ConfigParams parameters) → Future<ConfigParams>
Reads configuration and parameterize it with given values. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited