Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
DeploymentRepository |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-07-11 18:25:45, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.model; | |
9 | ||
10 | /** | |
11 | * Repository contains the information needed for deploying to the | |
12 | * remote | |
13 | * repository. | |
14 | * | |
15 | * @version $Revision$ $Date$ | |
16 | */ | |
17 | 4 | public class DeploymentRepository |
18 | extends RepositoryBase | |
19 | implements java.io.Serializable | |
20 | { | |
21 | ||
22 | //--------------------------/ | |
23 | //- Class/Member Variables -/ | |
24 | //--------------------------/ | |
25 | ||
26 | /** | |
27 | * Whether to assign snapshots a unique version comprised of | |
28 | * the timestamp and | |
29 | * build number, or to use the same version each | |
30 | * time. | |
31 | */ | |
32 | 4 | private boolean uniqueVersion = true; |
33 | ||
34 | ||
35 | //-----------/ | |
36 | //- Methods -/ | |
37 | //-----------/ | |
38 | ||
39 | /** | |
40 | * Get whether to assign snapshots a unique version comprised | |
41 | * of the timestamp and | |
42 | * build number, or to use the same version each | |
43 | * time. | |
44 | * | |
45 | * @return boolean | |
46 | */ | |
47 | public boolean isUniqueVersion() | |
48 | { | |
49 | 0 | return this.uniqueVersion; |
50 | } //-- boolean isUniqueVersion() | |
51 | ||
52 | /** | |
53 | * Set whether to assign snapshots a unique version comprised | |
54 | * of the timestamp and | |
55 | * build number, or to use the same version each | |
56 | * time. | |
57 | * | |
58 | * @param uniqueVersion | |
59 | */ | |
60 | public void setUniqueVersion( boolean uniqueVersion ) | |
61 | { | |
62 | 0 | this.uniqueVersion = uniqueVersion; |
63 | 0 | } //-- void setUniqueVersion( boolean ) |
64 | ||
65 | ||
66 | ||
67 | /** | |
68 | * @see java.lang.Object#equals(java.lang.Object) | |
69 | */ | |
70 | public boolean equals( Object obj ) | |
71 | { | |
72 | 2 | return super.equals( obj ); |
73 | } | |
74 | ||
75 | ||
76 | } |