|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactMetadata
Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
Method Summary | |
---|---|
java.lang.String |
extendedToString()
|
java.lang.String |
getArtifactId()
|
java.lang.String |
getBaseVersion()
|
java.lang.String |
getGroupId()
|
java.lang.Object |
getKey()
|
java.lang.String |
getLocalFilename(ArtifactRepository repository)
Get the filename of this metadata on the local repository. |
java.lang.String |
getRemoteFilename()
Get the filename of this metadata on the remote repository. |
void |
merge(ArtifactMetadata metadata)
Merge a new metadata set into this piece of metadata. |
boolean |
storedInArtifactVersionDirectory()
Whether this metadata should be stored alongside the artifact. |
boolean |
storedInGroupDirectory()
Whether this metadata should be stored alongside the group. |
void |
storeInLocalRepository(ArtifactRepository localRepository,
ArtifactRepository remoteRepository)
Store the metadata in the local repository. |
Method Detail |
---|
boolean storedInArtifactVersionDirectory()
boolean storedInGroupDirectory()
java.lang.String getGroupId()
java.lang.String getArtifactId()
java.lang.String getBaseVersion()
java.lang.Object getKey()
java.lang.String getLocalFilename(ArtifactRepository repository)
repository
- the remote repository it came from
java.lang.String getRemoteFilename()
void merge(ArtifactMetadata metadata)
metadata
- the new metadatavoid storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException
localRepository
- the local repositoryremoteRepository
- the remote repository it came from
RepositoryMetadataStoreException
java.lang.String extendedToString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |