Class LocalSnapshotMetadataGenerator

  • All Implemented Interfaces:
    org.eclipse.aether.impl.MetadataGenerator

    class LocalSnapshotMetadataGenerator
    extends java.lang.Object
    implements org.eclipse.aether.impl.MetadataGenerator
    Maven local GAV level metadata generator.

    Local snapshot metadata contains non-transformed snapshot version.

    • Constructor Summary

      Constructors 
      Constructor Description
      LocalSnapshotMetadataGenerator​(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> finish​(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)  
      java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> prepare​(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)  
      org.eclipse.aether.artifact.Artifact transformArtifact​(org.eclipse.aether.artifact.Artifact artifact)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • legacyFormat

        private final boolean legacyFormat
      • timestamp

        private final java.util.Date timestamp
    • Constructor Detail

      • LocalSnapshotMetadataGenerator

        LocalSnapshotMetadataGenerator​(org.eclipse.aether.RepositorySystemSession session,
                                       org.eclipse.aether.installation.InstallRequest request)
    • Method Detail

      • prepare

        public java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> prepare​(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
        Specified by:
        prepare in interface org.eclipse.aether.impl.MetadataGenerator
      • transformArtifact

        public org.eclipse.aether.artifact.Artifact transformArtifact​(org.eclipse.aether.artifact.Artifact artifact)
        Specified by:
        transformArtifact in interface org.eclipse.aether.impl.MetadataGenerator
      • finish

        public java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> finish​(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
        Specified by:
        finish in interface org.eclipse.aether.impl.MetadataGenerator