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
-
Method Summary
Creates a new Metadata object from the given XML document.
Id of the metadata this concerns.
List<com.yahoo.component.Version>
List of available versions of this, sorted by ascending version order.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Metadata
public Metadata(ArtifactId id,
List<com.yahoo.component.Version> versions)
-
Method Details
-
fromXml
Creates a new Metadata object from the given XML document.
-
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.