public interface LibraryCoordinates
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Return the artifact ID of the coordinates.
|
String |
getGroupId()
Return the group ID of the coordinates.
|
String |
getVersion()
Return the version of the coordinates.
|
static LibraryCoordinates |
of(String groupId,
String artifactId,
String version)
Factory method to create
LibraryCoordinates with the specified values. |
static String |
toStandardNotationString(LibraryCoordinates coordinates)
Utility method that returns the given coordinates using the standard
group:artifact:version form. |
String getGroupId()
String getArtifactId()
String getVersion()
static LibraryCoordinates of(String groupId, String artifactId, String version)
LibraryCoordinates
with the specified values.groupId
- the group IDartifactId
- the artifact IDversion
- the versionLibraryCoordinates
instancestatic String toStandardNotationString(LibraryCoordinates coordinates)
group:artifact:version
form.coordinates
- the coordinates to convert (may be null
)"::"
when the coordinates are null