类 OriginTrackedValue
java.lang.Object
org.springframework.boot.origin.OriginTrackedValue
- 所有已实现的接口:
OriginProvider
- 从以下版本开始:
- 2.0.0
- 作者:
- Madhura Bhave, Phillip Webb
- 另请参阅:
-
方法概要
修饰符和类型方法说明booleanReturn the source origin ornullif the origin is not known.getValue()Return the tracked value.inthashCode()static OriginTrackedValuestatic OriginTrackedValuetoString()
-
方法详细资料
-
getValue
Return the tracked value.- 返回:
- the tracked value
-
getOrigin
从接口复制的说明:OriginProviderReturn the source origin ornullif the origin is not known.- 指定者:
getOrigin在接口中OriginProvider- 返回:
- the origin or
null
-
equals
-
hashCode
public int hashCode() -
toString
-
of
-
of
Create anOriginTrackedValuecontaining the specifiedvalueandorigin. If the source value implementsCharSequencethen so will the resultingOriginTrackedValue.- 参数:
value- the source valueorigin- the origin- 返回:
- an
OriginTrackedValueornullif the source value wasnull.
-