java.lang.Object
org.apache.maven.artifact.repository.metadata.BaseObject
org.apache.maven.artifact.repository.metadata.Metadata
All Implemented Interfaces:
Serializable, Cloneable

@Generated public class Metadata extends BaseObject
See Also:
  • Constructor Details

    • Metadata

      public Metadata()
    • Metadata

      public Metadata(Metadata delegate)
    • Metadata

      public Metadata(Metadata delegate, BaseObject parent)
  • Method Details

    • clone

      public Metadata clone()
      Overrides:
      clone in class Object
    • getDelegate

      public Metadata getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getModelEncoding

      public String getModelEncoding()
    • getModelVersion

      public String getModelVersion()
    • setModelVersion

      public void setModelVersion(String modelVersion)
    • getGroupId

      public String getGroupId()
    • setGroupId

      public void setGroupId(String groupId)
    • getArtifactId

      public String getArtifactId()
    • setArtifactId

      public void setArtifactId(String artifactId)
    • getVersioning

      public Versioning getVersioning()
    • setVersioning

      public void setVersioning(Versioning versioning)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • getPlugins

      @Nonnull public List<Plugin> getPlugins()
    • setPlugins

      public void setPlugins(List<Plugin> plugins)
    • addPlugin

      public void addPlugin(Plugin plugin)
    • removePlugin

      public void removePlugin(Plugin plugin)
    • replace

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • metadataToApiV4

      public static List<Metadata> metadataToApiV4(List<Metadata> list)
    • metadataToApiV3

      public static List<Metadata> metadataToApiV3(List<Metadata> list)
    • merge

      public boolean merge(Metadata sourceMetadata)