View Javadoc

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