Interface Substitutable<T>
- Type Parameters:
T- the type of the resource implementing this interface
- All Known Implementing Classes:
ConsumerConfiguration, SearchParameters
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface representing a resource with substitutable properties. This interface is designed to provide a
mechanism for substituting placeholders in the properties of a resource with resolved values. The resource
implementing this interface is expected to produce a new instance with all necessary substitutions applied.
Implementing classes should define the logic for resolving and substituting placeholder values from the application's configuration or environment.
-
Method Summary
Modifier and TypeMethodDescriptionReplaces placeholders in the properties of the current resource with resolved values from application properties and returns a new instance of typeT.
-
Method Details
-
substituteProperties
-