createDazzlConfig

abstract fun <C> createDazzlConfig(configClass: Class<C>, configFolder: Path, configFileName: @YamlConfigFileNamePattern String): C

Creates a DazzlConf configuration file.

Return

An instance of the configuration class C.

Parameters

C

The type of the configuration class.

configClass

The class of the configuration.

configFolder

The folder where the configuration file is stored.

configFileName

The name of the configuration file. Must follow the YAML file name pattern.