Package | Description |
---|---|
org.springframework.boot.context.properties |
Support for external configuration properties.
|
Modifier and Type | Method and Description |
---|---|
<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(Function<T,R> adapter)
Return an adapted version of the source changed via the given adapter function.
|
<R extends Number> |
PropertyMapper.Source.asInt(Function<T,R> adapter)
Return an adapted version of the source with
Integer type. |
<T> PropertyMapper.Source<T> |
PropertyMapper.from(Supplier<T> supplier)
Return a new
PropertyMapper.Source from the specified value supplier that can be used to
perform the mapping. |
PropertyMapper.Source<T> |
PropertyMapper.Source.when(Predicate<T> predicate)
Return a filtered version of the source that won't map values that don't match
the given predicate.
|
PropertyMapper.Source<T> |
PropertyMapper.Source.whenEqualTo(Object object)
Return a filtered version of the source that will only map values equal to the
specified
object . |
PropertyMapper.Source<T> |
PropertyMapper.Source.whenFalse()
Return a filtered version of the source that will only map values that are
false . |
PropertyMapper.Source<T> |
PropertyMapper.Source.whenHasText()
Return a filtered version of the source that will only map values that have a
toString() containing actual text. |
<R extends T> |
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<T> |
PropertyMapper.Source.whenNonNull()
Return a filtered version of the source that won't map non-null values or
suppliers that throw a
NullPointerException . |
PropertyMapper.Source<T> |
PropertyMapper.Source.whenNot(Predicate<T> predicate)
Return a filtered version of the source that won't map values that match the
given predicate.
|
PropertyMapper.Source<T> |
PropertyMapper.Source.whenTrue()
Return a filtered version of the source that will only map values that are
true . |
Modifier and Type | Method and Description |
---|---|
<T> PropertyMapper.Source<T> |
PropertyMapper.SourceOperator.apply(PropertyMapper.Source<T> source)
Apply the operation to the given source.
|
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.