org.apache.maven.artifact.repository.metadata
Class SnapshotArtifactRepositoryMetadata
java.lang.Object
org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata
org.apache.maven.artifact.repository.metadata.SnapshotArtifactRepositoryMetadata
- All Implemented Interfaces:
- RepositoryMetadata, ArtifactMetadata
public class SnapshotArtifactRepositoryMetadata
- extends AbstractRepositoryMetadata
Metadata for the artifact version directory of the repository.
- Author:
- Brett Porter
Methods inherited from class org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata |
createMetadata, createVersioning, extendedToString, getLocalFilename, getMetadata, getPolicy, getRemoteFilename, merge, merge, setMetadata, storeInLocalRepository, toString, updateRepositoryMetadata |
SnapshotArtifactRepositoryMetadata
public SnapshotArtifactRepositoryMetadata(Artifact artifact)
SnapshotArtifactRepositoryMetadata
public SnapshotArtifactRepositoryMetadata(Artifact artifact,
Snapshot snapshot)
storedInGroupDirectory
public boolean storedInGroupDirectory()
storedInArtifactVersionDirectory
public boolean storedInArtifactVersionDirectory()
getGroupId
public String getGroupId()
getArtifactId
public String getArtifactId()
getBaseVersion
public String getBaseVersion()
getKey
public Object getKey()
isSnapshot
public boolean isSnapshot()
getNature
public int getNature()
- Specified by:
getNature
in interface RepositoryMetadata
- Overrides:
getNature
in class AbstractRepositoryMetadata
getRepository
public ArtifactRepository getRepository()
setRepository
public void setRepository(ArtifactRepository remoteRepository)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.