DefaultConfigLoader

constructor(clazz: Class<T>, parser: ConfigParser, file: Path, logger: YaclaLogger?, resourcePath: String)

Parameters

T

the type of the configuration object

clazz

the target configuration class

parser

the parser to deserialize the configuration

file

the path to the configuration file

logger

optional logger for diagnostics

resourcePath

the path to the resource used for updating configs