Class LocalSnapshotMetadata
java.lang.Object
org.eclipse.aether.metadata.AbstractMetadata
org.apache.maven.internal.impl.resolver.MavenMetadata
org.apache.maven.internal.impl.resolver.LocalSnapshotMetadata
- All Implemented Interfaces:
org.eclipse.aether.metadata.MergeableMetadata
,org.eclipse.aether.metadata.Metadata
Maven local GAV level metadata.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.metadata.Metadata
org.eclipse.aether.metadata.Metadata.Nature
-
Field Summary
FieldsFields inherited from class org.apache.maven.internal.impl.resolver.MavenMetadata
fmt, MAVEN_METADATA_XML, metadata, timestamp
-
Constructor Summary
ConstructorsConstructorDescriptionLocalSnapshotMetadata
(Metadata metadata, Path path, Instant timestamp) LocalSnapshotMetadata
(org.eclipse.aether.artifact.Artifact artifact, Instant timestamp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(org.eclipse.aether.artifact.Artifact artifact) private static Metadata
createMetadata
(org.eclipse.aether.artifact.Artifact artifact) getKey()
private String
static Object
getKey
(org.eclipse.aether.artifact.Artifact artifact) org.eclipse.aether.metadata.Metadata.Nature
protected void
Deprecated.Methods inherited from class org.apache.maven.internal.impl.resolver.MavenMetadata
getFile, getPath, getProperties, getType, isMerged, merge, merge, read, setProperties
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 Details
-
artifacts
-
-
Constructor Details
-
LocalSnapshotMetadata
LocalSnapshotMetadata(org.eclipse.aether.artifact.Artifact artifact, Instant timestamp) -
LocalSnapshotMetadata
-
-
Method Details
-
createMetadata
-
bind
public void bind(org.eclipse.aether.artifact.Artifact artifact) -
setFile
Deprecated.- Specified by:
setFile
in interfaceorg.eclipse.aether.metadata.Metadata
- Overrides:
setFile
in classorg.eclipse.aether.metadata.AbstractMetadata
-
setPath
- Specified by:
setPath
in interfaceorg.eclipse.aether.metadata.Metadata
- Overrides:
setPath
in classorg.eclipse.aether.metadata.AbstractMetadata
-
getKey
-
getKey
-
merge
- Specified by:
merge
in classMavenMetadata
-
getKey
-
getGroupId
-
getArtifactId
-
getVersion
-
getNature
public org.eclipse.aether.metadata.Metadata.Nature getNature()
-