org.apache.maven.artifact.repository.metadata
Interface RepositoryMetadata

All Superinterfaces:
org.apache.maven.artifact.metadata.ArtifactMetadata
All Known Implementing Classes:
AbstractRepositoryMetadata, ArtifactRepositoryMetadata, GroupRepositoryMetadata, SnapshotArtifactRepositoryMetadata

public interface RepositoryMetadata
extends org.apache.maven.artifact.metadata.ArtifactMetadata

Describes repository directory metadata.

Version:
$Id: RepositoryMetadata.java 495147 2007-01-11 07:47:53Z jvanzyl $
Author:
Brett Porter

Method Summary
 org.apache.maven.artifact.repository.metadata.Metadata getMetadata()
          Get the repository metadata associated with this marker.
 boolean isSnapshot()
          Whether this represents a snapshot.
 void setMetadata(org.apache.maven.artifact.repository.metadata.Metadata metadata)
          Set the metadata contents.
 void setRepository(org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)
          Set the repository the metadata was located in.
 
Methods inherited from interface org.apache.maven.artifact.metadata.ArtifactMetadata
extendedToString, getArtifactId, getBaseVersion, getGroupId, getKey, getLocalFilename, getRemoteFilename, merge, storedInArtifactVersionDirectory, storedInGroupDirectory, storeInLocalRepository
 

Method Detail

setRepository

void setRepository(org.apache.maven.artifact.repository.ArtifactRepository remoteRepository)
Set the repository the metadata was located in.

Parameters:
remoteRepository - the repository

getMetadata

org.apache.maven.artifact.repository.metadata.Metadata getMetadata()
Get the repository metadata associated with this marker.

Returns:
the metadata, or null if none loaded

setMetadata

void setMetadata(org.apache.maven.artifact.repository.metadata.Metadata metadata)
Set the metadata contents.

Parameters:
metadata - the metadata

isSnapshot

boolean isSnapshot()
Whether this represents a snapshot.

Returns:
if it is a snapshot


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.