Class BuildableManifestTemplate.ContentDescriptorTemplate
- java.lang.Object
-
- com.google.cloud.tools.jib.image.json.BuildableManifestTemplate.ContentDescriptorTemplate
-
- All Implemented Interfaces:
JsonTemplate
- Direct Known Subclasses:
OciIndexTemplate.ManifestDescriptorTemplate
- Enclosing interface:
- BuildableManifestTemplate
public static class BuildableManifestTemplate.ContentDescriptorTemplate extends java.lang.Object implements JsonTemplate
Template for inner JSON object representing content descriptor for a layer or container configuration.- See Also:
- OCI Content Descriptors
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContentDescriptorTemplate()
Necessary for Jackson to create from JSON.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getAnnotations()
DescriptorDigest
getDigest()
long
getSize()
java.util.List<java.lang.String>
getUrls()
-
-
-
Method Detail
-
getSize
public long getSize()
-
getDigest
@Nullable public DescriptorDigest getDigest()
-
getUrls
@Nullable public java.util.List<java.lang.String> getUrls()
-
getAnnotations
@Nullable public java.util.Map<java.lang.String,java.lang.String> getAnnotations()
-
-