org.apache.maven.model
Class Repository

java.lang.Object
  extended by org.apache.maven.model.RepositoryBase
      extended by org.apache.maven.model.Repository
All Implemented Interfaces:
java.io.Serializable

public class Repository
extends RepositoryBase
implements java.io.Serializable

A repository contains the information needed for establishing connections with remote repository.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Repository()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getModelEncoding()
           
 RepositoryPolicy getReleases()
          Get How to handle downloading of releases from this repository.
 RepositoryPolicy getSnapshots()
          Get How to handle downloading of snapshots from this repository.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setReleases(RepositoryPolicy releases)
          Set How to handle downloading of releases from this repository.
 void setSnapshots(RepositoryPolicy snapshots)
          Set How to handle downloading of snapshots from this repository.
 
Methods inherited from class org.apache.maven.model.RepositoryBase
getId, getLayout, getName, getUrl, setId, setLayout, setName, setUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository()
Method Detail

getReleases

public RepositoryPolicy getReleases()
Get How to handle downloading of releases from this repository.


getSnapshots

public RepositoryPolicy getSnapshots()
Get How to handle downloading of snapshots from this repository.


setReleases

public void setReleases(RepositoryPolicy releases)
Set How to handle downloading of releases from this repository.

Parameters:
releases -

setSnapshots

public void setSnapshots(RepositoryPolicy snapshots)
Set How to handle downloading of snapshots from this repository.

Parameters:
snapshots -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class RepositoryBase
See Also:
Object.equals(java.lang.Object)

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class RepositoryBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class RepositoryBase


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