Package org.springframework.boot.origin
Class OriginTrackedValue
java.lang.Object
org.springframework.boot.origin.OriginTrackedValue
- All Implemented Interfaces:
 OriginProvider
- Since:
 - 2.0.0
 - Author:
 - Madhura Bhave, Phillip Webb
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the source origin ornullif the origin is not known.getValue()Return the tracked value.inthashCode()static OriginTrackedValuestatic OriginTrackedValuetoString() 
- 
Method Details
- 
getValue
Return the tracked value.- Returns:
 - the tracked value
 
 - 
getOrigin
Description copied from interface:OriginProviderReturn the source origin ornullif the origin is not known.- Specified by:
 getOriginin interfaceOriginProvider- Returns:
 - 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.- Parameters:
 value- the source valueorigin- the origin- Returns:
 - an 
OriginTrackedValueornullif the source value wasnull. 
 
 -