public class MavenArtifactKey extends Object implements Comparable<MavenArtifactKey>
| Constructor and Description |
|---|
MavenArtifactKey(String groupId,
String artifactId) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MavenArtifactKey that) |
boolean |
equals(Object o) |
static MavenArtifactKey |
fromString(String value)
Returns a maven dependency from the given string using
: to separate the group id and artifact |
String |
getArtifactId() |
String |
getGroupId() |
int |
hashCode() |
String |
toString() |
public static MavenArtifactKey fromString(String value)
: to separate the group id and artifactpublic int compareTo(MavenArtifactKey that)
compareTo in interface Comparable<MavenArtifactKey>public String getGroupId()
public String getArtifactId()
Copyright © 2076–2017 Red Hat. All rights reserved.