Uses of Class
org.springframework.boot.context.properties.PropertyMapper.Source
Packages that use PropertyMapper.Source
Package
Description
Support for external configuration properties.
-
Uses of PropertyMapper.Source in org.springframework.boot.context.properties
Methods in org.springframework.boot.context.properties that return PropertyMapper.SourceModifier and TypeMethodDescription<T> PropertyMapper.Source<T> PropertyMapper.SourceOperator.apply(PropertyMapper.Source<T> source) Apply the operation to the given source.<R> PropertyMapper.Source<R> PropertyMapper.Source.as(PropertyMapper.Source.Adapter<? super T, ? extends R> adapter) Return an adapted version of the source changed through the given adapter function.<R extends Number>
PropertyMapper.Source<Integer> PropertyMapper.Source.asInt(PropertyMapper.Source.Adapter<? super T, ? extends R> adapter) Return an adapted version of the source withIntegertype.<T> PropertyMapper.Source<T> PropertyMapper.from(@Nullable T value) Return a newPropertyMapper.Sourcefrom the specified value that can be used to perform the mapping.<T> PropertyMapper.Source<T> Return a newPropertyMapper.Sourcefrom the specified value supplier that can be used to perform the mapping.Return a source that will use the given supplier to obtain a fallback value to use in place ofnull.Return a filtered version of the source that won't map values that don't match the given predicate.PropertyMapper.Source.whenEqualTo(@Nullable 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.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.Methods in org.springframework.boot.context.properties with parameters of type PropertyMapper.SourceModifier and TypeMethodDescription<T> PropertyMapper.Source<T> PropertyMapper.SourceOperator.apply(PropertyMapper.Source<T> source) Apply the operation to the given source.