- All Superinterfaces:
ConfigBuilder<SpringEnvironmentConfigBuilder>
- All Known Implementing Classes:
SpringEnvironmentConfigBuilderImpl
@API(status=STABLE,
since="1.0")
public interface SpringEnvironmentConfigBuilder
extends ConfigBuilder<SpringEnvironmentConfigBuilder>
Spring
Environment based configuration builder.- Since:
- 1.0
- Version:
- 1.0, 2025-09
- Author:
- (w) Iker Hernaez
- See Also:
-
EnvironmentConfig
-
Method Summary
Modifier and TypeMethodDescription@NotNull SpringEnvironmentConfigBuilderSets this configuration to support property keys iteration.Methods inherited from interface dev.orne.config.ConfigBuilder
as, build, withDecoder, withDecorator, withEncryption, withOverrideParentProperties, withParent, withParent, withVariableResolution
-
Method Details
-
withIterableKeys
Sets this configuration to support property keys iteration.If this method is not called, the resulting configuration will not support property keys iteration, and calling
Config.getKeys()will throw aNonIterableConfigException.Note that enabling property keys iteration requires a
ConfigurableEnvironmentand may have a performance impact, depending on the configuredPropertySources.- Returns:
- This instance, for method chaining.
- See Also:
-