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