org.apache.maven.profiles
Class Repository

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

public class Repository
extends RepositoryBase
implements Serializable

Repository contains the information needed for establishing connections with remote repoistory .

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

Constructor Summary
Repository()
           
 
Method Summary
 boolean equals(Object obj)
           
 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 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.profiles.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.

Returns:
RepositoryPolicy

getSnapshots

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

Returns:
RepositoryPolicy

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(Object obj)
Overrides:
equals in class RepositoryBase


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.