public class DigestOnlyLayer extends java.lang.Object implements Layer
Layer
reference that only has its DescriptorDigest
.Constructor and Description |
---|
DigestOnlyLayer(DescriptorDigest digest)
Instantiate with a
DescriptorDigest . |
Modifier and Type | Method and Description |
---|---|
Blob |
getBlob() |
BlobDescriptor |
getBlobDescriptor() |
DescriptorDigest |
getDiffId() |
public DigestOnlyLayer(DescriptorDigest digest)
DescriptorDigest
.digest
- the digest to instantiate the DigestOnlyLayer
frompublic Blob getBlob() throws LayerPropertyNotFoundException
getBlob
in interface Layer
LayerPropertyNotFoundException
- if not availablepublic BlobDescriptor getBlobDescriptor()
getBlobDescriptor
in interface Layer
BlobDescriptor
public DescriptorDigest getDiffId() throws LayerPropertyNotFoundException
getDiffId
in interface Layer
LayerPropertyNotFoundException
- if not available