Record Class RegistryClient.ArchivedFile
java.lang.Object
java.lang.Record
io.jenkins.plugins.oras_artifacts.RegistryClient.ArchivedFile
- Record Components:
path- the archived path, relative to the artifacts rootmanifestDigest- the digest of the file's own (referrer) manifestlayer- the single content layer of the file
- Enclosing class:
RegistryClient
-
Constructor Summary
ConstructorsConstructorDescriptionArchivedFile(String path, String manifestDigest, land.oras.Layer layer) Creates an instance of aArchivedFilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.land.oras.Layerlayer()Returns the value of thelayerrecord component.Returns the value of themanifestDigestrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArchivedFile
Creates an instance of aArchivedFilerecord class.- Parameters:
path- the value for thepathrecord componentmanifestDigest- the value for themanifestDigestrecord componentlayer- the value for thelayerrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
path
-
manifestDigest
Returns the value of themanifestDigestrecord component.- Returns:
- the value of the
manifestDigestrecord component
-
layer
-