Interface ArtifactReference
- All Known Implementing Classes:
ArtifactReferenceImpl
public interface ArtifactReference
This class holds the information that reference one Artifact in Apicurio Registry. It will always make
reference to an artifact in a group. Optionally it can reference to a specific version.
- Author:
- Fabian Martinez, Jakub Senko m@jsenko.net
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanLogical equality.static ArtifactReferencefromGlobalId(Long globalId) inthashCode()booleanhasValue()toString()
-
Method Details
-
hasValue
boolean hasValue() -
getGroupId
String getGroupId()- Returns:
- the groupId
-
getArtifactId
String getArtifactId()- Returns:
- the artifactId
-
getVersion
String getVersion()- Returns:
- the version
-
getGlobalId
Long getGlobalId()- Returns:
- the globalId
-
getContentId
Long getContentId()- Returns:
- the contentId
-
getContentHash
String getContentHash()- Returns:
- the contentHash
-
hashCode
int hashCode() -
equals
Logical equality. Two artifact references are equal, if they MUST refer to the same artifact. -
toString
String toString() -
fromGlobalId
-
builder
-