Class Metadata
- 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 Summary
Constructors Constructor Description Metadata(ArtifactId id, List<com.yahoo.component.Version> versions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadatafromXml(String xml)Creates a new Metadata object from the given XML document.ArtifactIdid()Id of the metadata this concerns.List<com.yahoo.component.Version>versions()List of available versions of this, sorted by ascending version order.
-
-
-
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.
-
-