1 // =================== DO NOT EDIT THIS FILE ====================
2 // Generated by Modello 1.8.1,
3 // any modifications will be overwritten.
4 // ==============================================================
5
6 package org.apache.maven.profiles;
7
8 /**
9 *
10 * Repository contains the information needed for
11 * establishing connections with remote repoistory
12 * .
13 *
14 * @version $Revision$ $Date$
15 */
16 @SuppressWarnings( "all" )
17 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 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 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 this.releases = releases;
72 } //-- 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 this.snapshots = snapshots;
83 } //-- void setSnapshots( RepositoryPolicy )
84
85
86 public boolean equals( Object obj )
87 {
88 return super.equals( obj );
89 }
90
91 }