Class RemoteSnapshotMetadata
java.lang.Object
org.eclipse.aether.metadata.AbstractMetadata
org.apache.maven.repository.internal.MavenMetadata
org.apache.maven.repository.internal.MavenSnapshotMetadata
org.apache.maven.repository.internal.RemoteSnapshotMetadata
- All Implemented Interfaces:
org.eclipse.aether.metadata.MergeableMetadata
,org.eclipse.aether.metadata.Metadata
Maven remote 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
FieldsModifier and TypeFieldDescriptionstatic final TimeZone
static final String
private final Map<String,
SnapshotVersion> Fields inherited from class org.apache.maven.repository.internal.MavenSnapshotMetadata
artifacts, legacyFormat, SNAPSHOT
Fields inherited from class org.apache.maven.repository.internal.MavenMetadata
MAVEN_METADATA_XML, metadata, timestamp
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RemoteSnapshotMetadata
(Metadata metadata, File file, boolean legacyFormat, Date timestamp) (package private)
RemoteSnapshotMetadata
(org.eclipse.aether.artifact.Artifact artifact, boolean legacyFormat, Date timestamp) -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
getBuildNumber
(Metadata metadata) getExpandedVersion
(org.eclipse.aether.artifact.Artifact artifact) protected void
Methods inherited from class org.apache.maven.repository.internal.MavenSnapshotMetadata
bind, createRepositoryMetadata, getArtifactId, getGroupId, getKey, getKey, getKey, getNature, getVersion
Methods inherited from class org.apache.maven.repository.internal.MavenMetadata
getFile, getProperties, getType, isMerged, 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
-
DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT
- See Also:
-
DEFAULT_SNAPSHOT_TIME_ZONE
-
versions
-
-
Constructor Details
-
RemoteSnapshotMetadata
RemoteSnapshotMetadata(org.eclipse.aether.artifact.Artifact artifact, boolean legacyFormat, Date timestamp) -
RemoteSnapshotMetadata
-
-
Method Details
-
setFile
- Specified by:
setFile
in interfaceorg.eclipse.aether.metadata.Metadata
- Overrides:
setFile
in classorg.eclipse.aether.metadata.AbstractMetadata
-
getExpandedVersion
-
merge
- Specified by:
merge
in classMavenMetadata
-
getBuildNumber
-