クラス TestUtils
java.lang.ObjectSE
org.springframework.amqp.utils.test.TestUtils
Spring Integration TestUtils を参照してください。
- 導入:
- 1.2
- 作成者:
- Mark Fisher, Iwein Fuld, Oleg Zhurakousky, Gary Russell, Ngoc Nhan
メソッドのサマリー
修飾子と型メソッド説明static ObjectSE
getPropertyValue
(ObjectSE root, StringSE propertyPath) ネストされたDirectFieldAccessor
を使用して、ドット表記を使用してプロパティを取得し、フィールドをトラバースします。たとえばstatic <T> T
getPropertyValue
(ObjectSE root, StringSE propertyPath, ClassSE<T> type)
メソッドの詳細
getPropertyValue
ネストされたDirectFieldAccessor
を使用して、ドット表記を使用してプロパティを取得し、フィールドをトラバースします。たとえば "foo.bar.baz" は、foo の bar フィールドの baz フィールドへの参照を取得します。Spring Integration から採用。- パラメーター:
root
- オブジェクト。propertyPath
- パス。- 戻り値:
- フィールド。
getPropertyValue