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 TypeMethodDescriptionvoidbind(org.eclipse.aether.artifact.Artifact artifact) private static MetadatacreateMetadata(org.eclipse.aether.artifact.Artifact artifact) getKey()private Stringstatic ObjectgetKey(org.eclipse.aether.artifact.Artifact artifact) org.eclipse.aether.metadata.Metadata.Natureprotected voidDeprecated.Methods inherited from class org.apache.maven.internal.impl.resolver.MavenMetadata
getFile, getPath, getProperties, getType, isMerged, merge, merge, read, setPropertiesMethods inherited from class org.eclipse.aether.metadata.AbstractMetadata
copyProperties, equals, getProperty, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
setFilein interfaceorg.eclipse.aether.metadata.Metadata- Overrides:
setFilein classorg.eclipse.aether.metadata.AbstractMetadata
-
setPath
- Specified by:
setPathin interfaceorg.eclipse.aether.metadata.Metadata- Overrides:
setPathin classorg.eclipse.aether.metadata.AbstractMetadata
-
getKey
-
getKey
-
merge
- Specified by:
mergein classMavenMetadata
-
getKey
-
getGroupId
-
getArtifactId
-
getVersion
-
getNature
public org.eclipse.aether.metadata.Metadata.Nature getNature()
-