org.apache.maven.model.Repository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
/*
=================== DO NOT EDIT THIS FILE ====================
Generated by Modello 1.0.1 on 2009-08-06 15:13:09,
any modifications will be overwritten.
==============================================================
*/
package org.apache.maven.model;
/**
* A repository contains the information needed for establishing
* connections with
* remote repository.
*
* @version $Revision$ $Date$
*/
public class Repository
extends RepositoryBase
implements java.io.Serializable
{
//--------------------------/
//- Class/Member Variables -/
//--------------------------/
/**
* How to handle downloading of releases from this repository.
*/
private RepositoryPolicy releases;
/**
* How to handle downloading of snapshots from this repository.
*/
private RepositoryPolicy snapshots;
//-----------/
//- Methods -/
//-----------/
/**
* Get how to handle downloading of releases from this
* repository.
*
* @return RepositoryPolicy
*/
public RepositoryPolicy getReleases()
{
return this.releases;
} //-- RepositoryPolicy getReleases()
/**
* Get how to handle downloading of snapshots from this
* repository.
*
* @return RepositoryPolicy
*/
public RepositoryPolicy getSnapshots()
{
return this.snapshots;
} //-- RepositoryPolicy getSnapshots()
/**
* Set how to handle downloading of releases from this
* repository.
*
* @param releases
*/
public void setReleases( RepositoryPolicy releases )
{
this.releases = releases;
} //-- void setReleases( RepositoryPolicy )
/**
* Set how to handle downloading of snapshots from this
* repository.
*
* @param snapshots
*/
public void setSnapshots( RepositoryPolicy snapshots )
{
this.snapshots = snapshots;
} //-- void setSnapshots( RepositoryPolicy )
/**
* @see java.lang.Object#equals(java.lang.Object)
*/
public boolean equals( Object obj )
{
return super.equals( obj );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy