- All Known Implementing Classes:
SpringEnvironmentConfigBuilderImpl
@API(status=STABLE,
since="1.0")
public interface SpringEnvironmentConfigInitialBuilder
Spring
Environment based configuration environment selection
builder.- Since:
- 1.0
- Version:
- 1.0, 2025-09
- Author:
- (w) Iker Hernaez
- See Also:
-
EnvironmentConfig
-
Method Summary
Modifier and TypeMethodDescription@NotNull SpringEnvironmentConfigBuilderofEnvironment(@NotNull org.springframework.core.env.Environment environment) Selects the SpringEnvironmentto use as source of configuration properties.
-
Method Details
-
ofEnvironment
@NotNull @NotNull SpringEnvironmentConfigBuilder ofEnvironment(@NotNull @NotNull org.springframework.core.env.Environment environment) Selects the SpringEnvironmentto use as source of configuration properties.- Parameters:
environment- The SpringEnvironment.- Returns:
- Next builder, for method chaining.
-