Class V22ManifestListTemplate.ManifestDescriptorTemplate

  • All Implemented Interfaces:
    JsonTemplate
    Enclosing class:
    V22ManifestListTemplate

    public static class V22ManifestListTemplate.ManifestDescriptorTemplate
    extends java.lang.Object
    implements JsonTemplate
    Template for inner JSON object representing a single platform specific manifest.
    • Constructor Detail

      • ManifestDescriptorTemplate

        public ManifestDescriptorTemplate()
    • Method Detail

      • setSize

        public void setSize​(long size)
      • setDigest

        public void setDigest​(java.lang.String digest)
      • getDigest

        @Nullable
        public java.lang.String getDigest()
      • setMediaType

        public void setMediaType​(java.lang.String mediaType)
      • getMediaType

        @Nullable
        public java.lang.String getMediaType()
      • setPlatform

        public void setPlatform​(java.lang.String architecture,
                                java.lang.String os)
        Sets a platform.
        Parameters:
        architecture - the manifest architecture
        os - the manifest os