public class GAV extends Object implements Comparable<GAV>
| Constructor and Description |
|---|
GAV(String groupId,
String artifactId,
String version)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GAV other) |
boolean |
equals(Object other) |
String |
getArtifactId() |
String |
getGroupId() |
static GAV |
getInstance(String coordinates)
Returns an instance based on the given concatenated Maven coordinates.
|
String |
getVersion() |
int |
hashCode() |
String |
toString() |
public static GAV getInstance(String coordinates)
coordinates - the groupId, artifactId, and version, separated by
MavenUtils.COORDINATE_SEPARATORIllegalArgumentException - if the string is not formatted as
explained above, or if any of the elements are themselves
invalid.public int compareTo(GAV other)
compareTo in interface Comparable<GAV>public String getArtifactId()
public String getGroupId()
public String getVersion()
Copyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.