Package org.axonframework.updates.api
Class Artifact
java.lang.Object
org.axonframework.updates.api.Artifact
Represents an artifact with its group ID, artifact ID, and version.
- Since:
- 4.12.0
- Author:
- Mitchell Herrijgers
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Artifact
Constructs aDetectedVulnerabilitywith the givengroupId,artifactId, andversion.- Parameters:
groupId- The group ID of the artifact.artifactId- The artifact ID of the artifact.version- The version of the artifact.
-
-
Method Details
-
groupId
Returns the group identifier of this artifact.- Returns:
- The group identifier of this artifact.
-
shortGroupId
Returns a short version of the group ID, to save bytes over the wire.- Returns:
- The short version of the group ID, or the original if it can't be shortened.
-
artifactId
Returns the artifact identifier of this artifact.- Returns:
- The artifact identifier of this artifact.
-
version
Returns the version of this artifact.- Returns:
- The version of this artifact.
-
equals
-
hashCode
public int hashCode() -
toString
-