クラスの使用
org.springframework.boot.context.properties.PropertyMapper.Source
PropertyMapper.Source を使用するパッケージ
org.springframework.boot.context.properties 内の PropertyMapper.Source 使用
修飾子と型メソッド説明<T> PropertyMapper.Source<T>
PropertyMapper.SourceOperator.apply
(PropertyMapper.Source<T> source) 指定されたソースに操作を適用します。<R> PropertyMapper.Source<R>
PropertyMapper.Source.as
(FunctionSE<T, R> adapter) 指定されたアダプター関数によって変更されたソースの適合バージョンを返します。<R extends NumberSE>
PropertyMapper.Source<IntegerSE>PropertyMapper.Source.asInt
(FunctionSE<T, R> adapter) Integer
SE 型のソースの適応バージョンを返します。<T> PropertyMapper.Source<T>
PropertyMapper.from
(SupplierSE<T> supplier) マッピングの実行に使用できる指定された値サプライヤーから新しいPropertyMapper.Source
を返します。<T> PropertyMapper.Source<T>
PropertyMapper.from
(T value) マッピングの実行に使用できる指定された値から新しいPropertyMapper.Source
を返します。PropertyMapper.Source.when
(PredicateSE<T> predicate) 指定された述語と一致しない値をマップしないソースのフィルターされたバージョンを返します。PropertyMapper.Source.whenEqualTo
(ObjectSE object) 指定されたobject
に等しい値のみをマップするソースのフィルターされたバージョンを返します。PropertyMapper.Source.whenFalse()
false
である値のみをマップするソースのフィルタリングされたバージョンを返します。PropertyMapper.Source.whenHasText()
実際のテキストを含むtoString()
を持つ値のみをマップするソースのフィルタリングされたバージョンを返します。<R extends T>
PropertyMapper.Source<R>PropertyMapper.Source.whenInstanceOf
(ClassSE<R> target) 指定された型のインスタンスである値のみをマップするソースのフィルタリングされたバージョンを返します。PropertyMapper.Source.whenNonNull()
null 以外の値またはNullPointerException
SE をスローするサプライヤーをマップしないソースのフィルターされたバージョンを返します。PropertyMapper.Source.whenNot
(PredicateSE<T> predicate) 指定された述語に一致する値をマップしないソースのフィルターされたバージョンを返します。PropertyMapper.Source.whenTrue()
true
である値のみをマップするソースのフィルタリングされたバージョンを返します。型 PropertyMapper.Source のパラメーターを持つ org.springframework.boot.context.properties のメソッド修飾子と型メソッド説明<T> PropertyMapper.Source<T>
PropertyMapper.SourceOperator.apply
(PropertyMapper.Source<T> source) 指定されたソースに操作を適用します。