public class DigestOnlyLayer extends 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 LayerLayerPropertyNotFoundException - if not availablepublic BlobDescriptor getBlobDescriptor()
getBlobDescriptor in interface LayerBlobDescriptorpublic DescriptorDigest getDiffId() throws LayerPropertyNotFoundException
getDiffId in interface LayerLayerPropertyNotFoundException - if not availableCopyright © 2019. All rights reserved.