Class Metadata


  • public class Metadata
    extends Object
    Metadata about a released artifact.
    Author:
    jonmv
    • Constructor Detail

      • Metadata

        public Metadata​(ArtifactId id,
                        List<com.yahoo.component.Version> versions)
    • Method Detail

      • fromXml

        public static Metadata fromXml​(String xml)
        Creates a new Metadata object from the given XML document.
      • id

        public ArtifactId id()
        Id of the metadata this concerns.
      • versions

        public List<com.yahoo.component.Version> versions()
        List of available versions of this, sorted by ascending version order.