abstract class MavenSnapshotMetadata extends MavenMetadata
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<org.eclipse.aether.artifact.Artifact> |
artifacts |
protected boolean |
legacyFormat |
(package private) static java.lang.String |
SNAPSHOT |
MAVEN_METADATA_XML, metadata, timestamp
Modifier | Constructor and Description |
---|---|
protected |
MavenSnapshotMetadata(Metadata metadata,
java.io.File file,
boolean legacyFormat,
java.util.Date timestamp) |
Modifier and Type | Method and Description |
---|---|
void |
bind(org.eclipse.aether.artifact.Artifact artifact) |
protected static Metadata |
createRepositoryMetadata(org.eclipse.aether.artifact.Artifact artifact,
boolean legacyFormat) |
java.lang.String |
getArtifactId() |
java.lang.String |
getGroupId() |
java.lang.Object |
getKey() |
static java.lang.Object |
getKey(org.eclipse.aether.artifact.Artifact artifact) |
protected java.lang.String |
getKey(java.lang.String classifier,
java.lang.String extension) |
org.eclipse.aether.metadata.Metadata.Nature |
getNature() |
java.lang.String |
getVersion() |
getFile, getProperties, getType, isMerged, merge, merge, read, setProperties
copyProperties, equals, getProperty, hashCode, setFile, toString
static final java.lang.String SNAPSHOT
protected final java.util.Collection<org.eclipse.aether.artifact.Artifact> artifacts
protected final boolean legacyFormat
protected MavenSnapshotMetadata(Metadata metadata, java.io.File file, boolean legacyFormat, java.util.Date timestamp)
protected static Metadata createRepositoryMetadata(org.eclipse.aether.artifact.Artifact artifact, boolean legacyFormat)
public void bind(org.eclipse.aether.artifact.Artifact artifact)
public java.lang.Object getKey()
public static java.lang.Object getKey(org.eclipse.aether.artifact.Artifact artifact)
protected java.lang.String getKey(java.lang.String classifier, java.lang.String extension)
public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public org.eclipse.aether.metadata.Metadata.Nature getNature()