クラスの使用
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(PropertyMapper.Source.Adapter<? super T, ? extends R> adapter) 指定されたアダプター関数によって変更されたソースの適合バージョンを返します。<R extends NumberSE>
PropertyMapper.Source<IntegerSE> PropertyMapper.Source.asInt(PropertyMapper.Source.Adapter<? super T, ? extends R> adapter) IntegerSE 型のソースの適応バージョンを返します。<T> PropertyMapper.Source<T> PropertyMapper.from(@Nullable T value) マッピングの実行に使用できる指定された値から新しいPropertyMapper.Sourceを返します。<T> PropertyMapper.Source<T> PropertyMapper.from(SupplierSE<? extends @Nullable T> supplier) マッピングの実行に使用できる指定された値サプライヤーから新しいPropertyMapper.Sourceを返します。PropertyMapper.Source.orFrom(SupplierSE<? extends @Nullable T> fallback) 指定されたサプライヤーを使用して、nullの代わりに使用するフォールバック値を取得するソースを返します。PropertyMapper.Source.when(PredicateSE<T> predicate) 指定された述語と一致しない値をマップしないソースのフィルターされたバージョンを返します。PropertyMapper.Source.whenEqualTo(@Nullable 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.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) 指定されたソースに操作を適用します。