# Class: Config
@boll/core › Globals › Config
# Class: Config
# Hierarchy
- Config
# Index
# Constructors
# Properties
# Methods
# Constructors
# constructor
+ new Config(configRegistry
: ConfigRegistry, ruleRegistry
: RuleRegistry, logger
: Logger): Config
Defined in config.ts:9
Parameters:
Name | Type |
---|---|
configRegistry | ConfigRegistry |
ruleRegistry | RuleRegistry |
logger | Logger |
Returns: Config
# Properties
# Private
configRegistry
• configRegistry: ConfigRegistry
Defined in config.ts:11
# Private
configuration
• configuration: ConfigDefinition
Defined in config.ts:9
# Private
logger
• logger: Logger
Defined in config.ts:11
# Private
ruleRegistry
• ruleRegistry: RuleRegistry
Defined in config.ts:11
# Methods
# buildSuite
▸ buildSuite(): Suite
Defined in config.ts:13
Returns: Suite
# load
▸ load(def
: ConfigDefinition): void
Defined in config.ts:31
Parameters:
Name | Type |
---|---|
def | ConfigDefinition |
Returns: void
# loadRuleSets
▸ loadRuleSets(): RuleSet[]
Defined in config.ts:19
Returns: RuleSet[]
# resolveParentConfiguration
▸ resolveParentConfiguration(baseConfigName
: string | null | undefined): ConfigDefinition
Defined in config.ts:43
Parameters:
Name | Type |
---|---|
baseConfigName | string | null | undefined |
Returns: ConfigDefinition
# resolvedConfiguration
▸ resolvedConfiguration(): ConfigDefinition
Defined in config.ts:36
Returns: ConfigDefinition