class LocalSnapshotMetadataGenerator
extends java.lang.Object
implements org.eclipse.aether.impl.MetadataGenerator
Local snapshot metadata contains non-transformed snapshot version.
Modifier and Type | Field and Description |
---|---|
private boolean |
legacyFormat |
private java.util.Map<java.lang.Object,LocalSnapshotMetadata> |
snapshots |
private java.util.Date |
timestamp |
Constructor and Description |
---|
LocalSnapshotMetadataGenerator(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.installation.InstallRequest request) |
Modifier and Type | Method and 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) |
private java.util.Map<java.lang.Object,LocalSnapshotMetadata> snapshots
private final boolean legacyFormat
private final java.util.Date timestamp
LocalSnapshotMetadataGenerator(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request)
public java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> prepare(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
prepare
in interface org.eclipse.aether.impl.MetadataGenerator
public org.eclipse.aether.artifact.Artifact transformArtifact(org.eclipse.aether.artifact.Artifact artifact)
transformArtifact
in interface org.eclipse.aether.impl.MetadataGenerator
public java.util.Collection<? extends org.eclipse.aether.metadata.Metadata> finish(java.util.Collection<? extends org.eclipse.aether.artifact.Artifact> artifacts)
finish
in interface org.eclipse.aether.impl.MetadataGenerator