public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata
RELEASE, RELEASE_OR_SNAPSHOT, SNAPSHOT| Constructor and Description |
|---|
SnapshotArtifactRepositoryMetadata(Artifact artifact) |
SnapshotArtifactRepositoryMetadata(Artifact artifact,
Snapshot snapshot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
String |
getBaseVersion() |
String |
getGroupId() |
Object |
getKey() |
int |
getNature() |
ArtifactRepository |
getRepository() |
boolean |
isSnapshot() |
void |
setRepository(ArtifactRepository remoteRepository) |
boolean |
storedInArtifactVersionDirectory() |
boolean |
storedInGroupDirectory() |
createMetadata, createVersioning, extendedToString, getLocalFilename, getMetadata, getPolicy, getRemoteFilename, merge, merge, setMetadata, storeInLocalRepository, toString, updateRepositoryMetadatapublic SnapshotArtifactRepositoryMetadata(Artifact artifact)
public SnapshotArtifactRepositoryMetadata(Artifact artifact, Snapshot snapshot)
public boolean storedInGroupDirectory()
public boolean storedInArtifactVersionDirectory()
public String getGroupId()
public String getArtifactId()
public String getBaseVersion()
public boolean isSnapshot()
public int getNature()
getNature in interface RepositoryMetadatagetNature in class AbstractRepositoryMetadatapublic ArtifactRepository getRepository()
public void setRepository(ArtifactRepository remoteRepository)
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.