public class ProjectArtifactMetadata extends AbstractArtifactMetadata
artifact
Constructor and Description |
---|
ProjectArtifactMetadata(Artifact artifact) |
ProjectArtifactMetadata(Artifact artifact,
File file) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseVersion() |
File |
getFile() |
Object |
getKey() |
String |
getLocalFilename(ArtifactRepository repository) |
String |
getRemoteFilename() |
void |
merge(ArtifactMetadata metadata) |
void |
merge(ArtifactMetadata metadata) |
boolean |
storedInArtifactVersionDirectory() |
void |
storeInLocalRepository(ArtifactRepository localRepository,
ArtifactRepository remoteRepository) |
String |
toString() |
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
extendedToString, getArtifactId, getGroupId, storedInGroupDirectory
public ProjectArtifactMetadata(Artifact artifact)
public File getFile()
public String getRemoteFilename()
public String getLocalFilename(ArtifactRepository repository)
public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException
RepositoryMetadataStoreException
public boolean storedInArtifactVersionDirectory()
public String getBaseVersion()
public Object getKey()
public void merge(ArtifactMetadata metadata)
public void merge(ArtifactMetadata metadata)
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.