Interface LibraryCoordinates
public interface LibraryCoordinates
Encapsulates information about the artifact coordinates of a library.
- Since:
- 2.3.0
- Author:
- Scott Frederick, Phillip Webb
- 
Method SummaryModifier and TypeMethodDescriptionReturn the artifact ID of the coordinates.Return the group ID of the coordinates.Return the version of the coordinates.static LibraryCoordinatesFactory method to createLibraryCoordinateswith the specified values.static StringtoStandardNotationString(LibraryCoordinates coordinates) Utility method that returns the given coordinates using the standardgroup:artifact:versionform.
- 
Method Details- 
getGroupIdString getGroupId()Return the group ID of the coordinates.- Returns:
- the group ID
 
- 
getArtifactIdString getArtifactId()Return the artifact ID of the coordinates.- Returns:
- the artifact ID
 
- 
getVersionString getVersion()Return the version of the coordinates.- Returns:
- the version
 
- 
ofFactory method to createLibraryCoordinateswith the specified values.- Parameters:
- groupId- the group ID
- artifactId- the artifact ID
- version- the version
- Returns:
- a new LibraryCoordinatesinstance
 
- 
toStandardNotationStringUtility method that returns the given coordinates using the standardgroup:artifact:versionform.- Parameters:
- coordinates- the coordinates to convert (may be- null)
- Returns:
- the standard notation form or "::"when the coordinates are null
 
 
-