Class LocalSnapshotMetadata

  • All Implemented Interfaces:
    org.eclipse.aether.metadata.MergeableMetadata, org.eclipse.aether.metadata.Metadata

    final class LocalSnapshotMetadata
    extends MavenMetadata
    • Nested Class Summary

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(org.eclipse.aether.artifact.Artifact artifact)  
      private static Metadata createMetadata​(org.eclipse.aether.artifact.Artifact artifact, boolean legacyFormat)  
      java.lang.String getArtifactId()  
      java.lang.String getGroupId()  
      java.lang.Object getKey()  
      private 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()  
      protected void merge​(Metadata recessive)  
      MavenMetadata setFile​(java.io.File file)  
      • Methods inherited from class org.eclipse.aether.metadata.AbstractMetadata

        copyProperties, equals, getProperty, hashCode, 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
    • Field Detail

      • artifacts

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

        private final boolean legacyFormat
    • Constructor Detail

      • LocalSnapshotMetadata

        LocalSnapshotMetadata​(org.eclipse.aether.artifact.Artifact artifact,
                              boolean legacyFormat)
      • LocalSnapshotMetadata

        LocalSnapshotMetadata​(Metadata metadata,
                              java.io.File file,
                              boolean legacyFormat)
    • Method Detail

      • createMetadata

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

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

        public MavenMetadata setFile​(java.io.File file)
        Specified by:
        setFile in interface org.eclipse.aether.metadata.Metadata
        Overrides:
        setFile in class org.eclipse.aether.metadata.AbstractMetadata
      • getKey

        public java.lang.Object getKey()
      • getKey

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

        private 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()