java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.maven.Metadata

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

    • Metadata

      public Metadata(ArtifactId id, Instant lastUpdated, List<com.yahoo.component.Version> versions)
  • Method Details

    • 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(Instant availableAt)
      List of available versions of this, sorted by ascending version order.