Class ReachabilityMetadataProperties
java.lang.Object
org.springframework.boot.loader.tools.ReachabilityMetadataProperties
Class to work with 
reachability-metadata.properties.- Since:
- 3.0.0
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionfromInputStream(InputStream inputStream) Constructs a new instance from the givenInputStream.static StringgetLocation(LibraryCoordinates coordinates) Returns the location of the properties for the given coordinates.booleanReturns if the dependency has been overridden.
- 
Field Details- 
REACHABILITY_METADATA_PROPERTIES_LOCATION_TEMPLATELocation of the properties file. Must be formatted usingString.format(String, Object...)with the group id, artifact id and version of the dependency.- See Also:
 
 
- 
- 
Method Details- 
isOverriddenpublic boolean isOverridden()Returns if the dependency has been overridden.- Returns:
- true if the dependency has been overridden
 
- 
fromInputStreampublic static ReachabilityMetadataProperties fromInputStream(InputStream inputStream) throws IOException Constructs a new instance from the givenInputStream.- Parameters:
- inputStream-- InputStreamto load the properties from
- Returns:
- loaded properties
- Throws:
- IOException- if loading from the- InputStreamwent wrong
 
- 
getLocationReturns the location of the properties for the given coordinates.- Parameters:
- coordinates- library coordinates for which the property file location should be returned
- Returns:
- location of the properties
 
 
-