Uses of Class
org.springframework.boot.context.properties.PropertyMapper.Source
Package
Description
Support for external configuration properties.
-
Uses of PropertyMapper.Source in org.springframework.boot.context.properties
Modifier and TypeMethodDescription<T> PropertyMapper.Source<T>
PropertyMapper.SourceOperator.apply
(PropertyMapper.Source<T> source) Apply the operation to the given source.<R> PropertyMapper.Source<R>
Return an adapted version of the source changed via the given adapter function.<R extends Number>
PropertyMapper.Source<Integer>Return an adapted version of the source withInteger
type.<T> PropertyMapper.Source<T>
Return a newPropertyMapper.Source
from the specified value supplier that can be used to perform the mapping.<T> PropertyMapper.Source<T>
PropertyMapper.from
(T value) Return a newPropertyMapper.Source
from the specified value that can be used to perform the mapping.Return a filtered version of the source that won't map values that don't match the given predicate.PropertyMapper.Source.whenEqualTo
(Object object) Return a filtered version of the source that will only map values equal to the specifiedobject
.PropertyMapper.Source.whenFalse()
Return a filtered version of the source that will only map values that arefalse
.PropertyMapper.Source.whenHasText()
Return a filtered version of the source that will only map values that have atoString()
containing actual text.<R extends T>
PropertyMapper.Source<R>PropertyMapper.Source.whenInstanceOf
(Class<R> target) Return a filtered version of the source that will only map values that are an instance of the given type.PropertyMapper.Source.whenNonNull()
Return a filtered version of the source that won't map non-null values or suppliers that throw aNullPointerException
.Return a filtered version of the source that won't map values that match the given predicate.PropertyMapper.Source.whenTrue()
Return a filtered version of the source that will only map values that aretrue
.Modifier and TypeMethodDescription<T> PropertyMapper.Source<T>
PropertyMapper.SourceOperator.apply
(PropertyMapper.Source<T> source) Apply the operation to the given source.