@hashgraph/solo
    Preparing search index...

    Indicates a configuration source that can be refreshed.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    The backend that is used to read and write configuration data.

    forest: Forest

    The forest model of the configuration keys and values.

    key: string
    mapper: ObjectMapper
    prefix?: string

    An optional prefix that is used to filter configuration keys that are read from the configuration source.

    The schema that defines the structure of the model.

    Accessors

    Methods

    • Retrieves the value of the specified key from the configuration source and converts it an object of the specified type. If the key is not specified, the method returns the entire configuration as an object.

      Type Parameters

      • T

      Parameters

      • cls: ClassConstructor<T>

        The class of the object to which the value should be converted.

      • Optionalkey: string

        The key to use to retrieve the value from the configuration source.

      Returns T

      The value of the specified key as a boolean.