public class AscArtifactMetadata extends AbstractArtifactMetadata implements ArtifactMetadata
artifact
Constructor and Description |
---|
AscArtifactMetadata(Artifact artifact,
File file,
boolean isPom) |
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 String getBaseVersion()
getBaseVersion
in interface ArtifactMetadata
public Object getKey()
getKey
in interface ArtifactMetadata
public String getLocalFilename(ArtifactRepository repository)
getLocalFilename
in interface ArtifactMetadata
public String getRemoteFilename()
getRemoteFilename
in interface ArtifactMetadata
public void merge(ArtifactMetadata metadata)
public void merge(ArtifactMetadata metadata)
merge
in interface ArtifactMetadata
public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException
storeInLocalRepository
in interface ArtifactMetadata
RepositoryMetadataStoreException
public boolean storedInArtifactVersionDirectory()
storedInArtifactVersionDirectory
in interface ArtifactMetadata
public File getFile()
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.