org.apache.maven.artifact.repository.metadata

Interface RepositoryMetadata

public interface RepositoryMetadata extends ArtifactMetadata

Describes repository directory metadata.

Version: $Id: RepositoryMetadata.java 280237 2005-09-12 02:11:12Z brett $

Author: Brett Porter

UNKNOWN: not happy about the store method - they use "this"

Method Summary
MetadatagetMetadata()
Get the repository metadata associated with this marker.
booleanisSnapshot()
Whether this represents a snapshot.
voidsetMetadata(Metadata metadata)
Set the metadata contents.
voidsetRepository(ArtifactRepository remoteRepository)
Set the repository the metadata was located in.

Method Detail

getMetadata

public Metadata getMetadata()
Get the repository metadata associated with this marker.

Returns: the metadata, or null if none loaded

isSnapshot

public boolean isSnapshot()
Whether this represents a snapshot.

Returns: if it is a snapshot

setMetadata

public void setMetadata(Metadata metadata)
Set the metadata contents.

Parameters: metadata the metadata

setRepository

public void setRepository(ArtifactRepository remoteRepository)
Set the repository the metadata was located in.

Parameters: remoteRepository the repository

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