Coverage Report - org.apache.maven.model.Repository
 
Classes in this File Line Coverage Branch Coverage Complexity
Repository
25 %
2/8
N/A
1
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.0.1 on 2009-09-09 03:04:48,
 4  
  any modifications will be overwritten.
 5  
  ==============================================================
 6  
  */
 7  
 
 8  
 package org.apache.maven.model;
 9  
 
 10  
 /**
 11  
  * A repository contains the information needed for establishing
 12  
  * connections with
 13  
  *         remote repository.
 14  
  * 
 15  
  * @version $Revision$ $Date$
 16  
  */
 17  6
 public class Repository
 18  
     extends RepositoryBase
 19  
     implements java.io.Serializable
 20  
 {
 21  
 
 22  
       //--------------------------/
 23  
      //- Class/Member Variables -/
 24  
     //--------------------------/
 25  
 
 26  
     /**
 27  
      * How to handle downloading of releases from this repository.
 28  
      */
 29  
     private RepositoryPolicy releases;
 30  
 
 31  
     /**
 32  
      * How to handle downloading of snapshots from this repository.
 33  
      */
 34  
     private RepositoryPolicy snapshots;
 35  
 
 36  
 
 37  
       //-----------/
 38  
      //- Methods -/
 39  
     //-----------/
 40  
 
 41  
     /**
 42  
      * Get how to handle downloading of releases from this
 43  
      * repository.
 44  
      * 
 45  
      * @return RepositoryPolicy
 46  
      */
 47  
     public RepositoryPolicy getReleases()
 48  
     {
 49  0
         return this.releases;
 50  
     } //-- RepositoryPolicy getReleases()
 51  
 
 52  
     /**
 53  
      * Get how to handle downloading of snapshots from this
 54  
      * repository.
 55  
      * 
 56  
      * @return RepositoryPolicy
 57  
      */
 58  
     public RepositoryPolicy getSnapshots()
 59  
     {
 60  0
         return this.snapshots;
 61  
     } //-- RepositoryPolicy getSnapshots()
 62  
 
 63  
     /**
 64  
      * Set how to handle downloading of releases from this
 65  
      * repository.
 66  
      * 
 67  
      * @param releases
 68  
      */
 69  
     public void setReleases( RepositoryPolicy releases )
 70  
     {
 71  0
         this.releases = releases;
 72  0
     } //-- void setReleases( RepositoryPolicy )
 73  
 
 74  
     /**
 75  
      * Set how to handle downloading of snapshots from this
 76  
      * repository.
 77  
      * 
 78  
      * @param snapshots
 79  
      */
 80  
     public void setSnapshots( RepositoryPolicy snapshots )
 81  
     {
 82  0
         this.snapshots = snapshots;
 83  0
     } //-- void setSnapshots( RepositoryPolicy )
 84  
 
 85  
 
 86  
             
 87  
     /**
 88  
      * @see java.lang.Object#equals(java.lang.Object)
 89  
      */
 90  
     public boolean equals( Object obj )
 91  
     {
 92  3
         return super.equals( obj );
 93  
     }
 94  
             
 95  
           
 96  
 }