Class MavenSnapshotMetadata

  • All Implemented Interfaces:
    org.eclipse.aether.metadata.MergeableMetadata, org.eclipse.aether.metadata.Metadata
    Direct Known Subclasses:
    RemoteSnapshotMetadata

    abstract class MavenSnapshotMetadata
    extends MavenMetadata
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.aether.metadata.Metadata

        org.eclipse.aether.metadata.Metadata.Nature
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MavenSnapshotMetadata​(Metadata metadata, java.io.File file, boolean legacyFormat, java.util.Date timestamp)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(org.eclipse.aether.artifact.Artifact artifact)  
      protected static Metadata createRepositoryMetadata​(org.eclipse.aether.artifact.Artifact artifact, boolean legacyFormat)  
      java.lang.String getArtifactId()  
      java.lang.String getGroupId()  
      java.lang.Object getKey()  
      protected java.lang.String getKey​(java.lang.String classifier, java.lang.String extension)  
      static java.lang.Object getKey​(org.eclipse.aether.artifact.Artifact artifact)  
      org.eclipse.aether.metadata.Metadata.Nature getNature()  
      java.lang.String getVersion()  
      • Methods inherited from class org.eclipse.aether.metadata.AbstractMetadata

        copyProperties, equals, getProperty, hashCode, setFile, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.aether.metadata.Metadata

        getProperty, setFile
    • Field Detail

      • artifacts

        protected final java.util.Collection<org.eclipse.aether.artifact.Artifact> artifacts
      • legacyFormat

        protected final boolean legacyFormat
    • Constructor Detail

      • MavenSnapshotMetadata

        protected MavenSnapshotMetadata​(Metadata metadata,
                                        java.io.File file,
                                        boolean legacyFormat,
                                        java.util.Date timestamp)
    • Method Detail

      • createRepositoryMetadata

        protected static Metadata createRepositoryMetadata​(org.eclipse.aether.artifact.Artifact artifact,
                                                           boolean legacyFormat)
      • bind

        public void bind​(org.eclipse.aether.artifact.Artifact artifact)
      • getKey

        public java.lang.Object getKey()
      • getKey

        public static java.lang.Object getKey​(org.eclipse.aether.artifact.Artifact artifact)
      • getKey

        protected java.lang.String getKey​(java.lang.String classifier,
                                          java.lang.String extension)
      • getGroupId

        public java.lang.String getGroupId()
      • getArtifactId

        public java.lang.String getArtifactId()
      • getVersion

        public java.lang.String getVersion()
      • getNature

        public org.eclipse.aether.metadata.Metadata.Nature getNature()