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 aConfigurationPropertySource
should be included when determining unbound elements. If the underlyingPropertySource
is a systemEnvironment or systemProperties property source, it will not be considered for unbound element failures.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description UnboundElementsSourceFilter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
apply(ConfigurationPropertySource configurationPropertySource)
Constructor Detail
UnboundElementsSourceFilter
public UnboundElementsSourceFilter()
Method Detail
apply
public Boolean apply(ConfigurationPropertySource configurationPropertySource)
- Specified by:
apply
in interfaceFunction<ConfigurationPropertySource,Boolean>