public class Artifact extends Object
Constructor and Description |
---|
Artifact(String groupId,
String artifactId,
String version)
Constructs a
DetectedVulnerability with the given groupId , artifactId , and
version . |
Modifier and Type | Method and Description |
---|---|
String |
artifactId()
Returns the artifact identifier of this artifact.
|
boolean |
equals(Object o) |
String |
groupId()
Returns the group identifier of this artifact.
|
int |
hashCode() |
String |
shortGroupId()
Returns a short version of the group ID, to save bytes over the wire.
|
String |
toString() |
String |
version()
Returns the version of this artifact.
|
public String groupId()
public String shortGroupId()
public String artifactId()
public String version()
Copyright © 2010–2025. All rights reserved.