public final class LibraryCoordinates extends Object
Constructor and Description |
---|
LibraryCoordinates(String coordinates)
Create a new instance from a String value in the form
groupId:artifactId:version where the version is optional. |
LibraryCoordinates(String groupId,
String artifactId,
String version)
Create a new instance from discrete elements.
|
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
String |
getGroupId() |
String |
getVersion() |
public LibraryCoordinates(String groupId, String artifactId, String version)
groupId
- the group IDartifactId
- the artifact IDversion
- the versionpublic LibraryCoordinates(String coordinates)
groupId:artifactId:version
where the version is optional.coordinates
- the coordinates