Class UnboundElementsSourceFilter
java.lang.Object
org.springframework.boot.context.properties.source.UnboundElementsSourceFilter
- All Implemented Interfaces:
Function<ConfigurationPropertySource,
Boolean>
public class UnboundElementsSourceFilter
extends Object
implements Function<ConfigurationPropertySource, Boolean>
Function used to determine if a
ConfigurationPropertySource
should be included
when determining unbound elements. If the underlying PropertySource
is a
systemEnvironment or systemProperties property source, it will not be considered for
unbound element failures.- Since:
- 2.0.0
-
Constructor Details
-
UnboundElementsSourceFilter
public UnboundElementsSourceFilter()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ConfigurationPropertySource,
Boolean>
-