public final class ArtifactGroupId extends Object
The version is not included.
Implements value semantics. Instances are immutable.
Implements hashCode() and equals(java.lang.Object) so that instances can be used as
Map keys.
| Constructor and Description |
|---|
ArtifactGroupId(String stringArtifactGroupId)
Constructor using an ArtifactGroupId literal.
|
ArtifactGroupId(String groupId,
String artifactId)
Constructor using the individual fields.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getArtifactId() |
String |
getGroupId() |
int |
hashCode() |
static ArtifactGroupId |
parse(String stringArtifactGroupId)
Parses an ArtifactGroupId literal.
|
String |
toString() |
public ArtifactGroupId(String groupId, String artifactId)
groupId - GroupId.artifactId - ArtifactId.public ArtifactGroupId(String stringArtifactGroupId)
Throws RuntimeException if parsing fails.
stringArtifactGroupId - ArtifactGroupId literal.public static ArtifactGroupId parse(String stringArtifactGroupId) throws ParseException
stringArtifactGroupId - ArtifactVersion literal.ParseException - If parsing fails.public String getGroupId()
public String getArtifactId()
public String toString()
Copyright © 2015–2017 AZYVA INC.. All rights reserved.