Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ActivationProperty |
|
| 1.0;1 |
1 | /* | |
2 | =================== DO NOT EDIT THIS FILE ==================== | |
3 | Generated by Modello 1.0.1 on 2009-03-28 16:10:29, | |
4 | any modifications will be overwritten. | |
5 | ============================================================== | |
6 | */ | |
7 | ||
8 | package org.apache.maven.settings; | |
9 | ||
10 | /** | |
11 | * | |
12 | * | |
13 | * This is the property specification used to activate a | |
14 | * profile. If the value field is empty, | |
15 | * then the existence of the named property will activate | |
16 | * the profile, otherwise it does a case-sensitive | |
17 | * match against the property value as well. | |
18 | * | |
19 | * | |
20 | * | |
21 | * @version $Revision$ $Date$ | |
22 | */ | |
23 | 0 | public class ActivationProperty |
24 | implements java.io.Serializable | |
25 | { | |
26 | ||
27 | //--------------------------/ | |
28 | //- Class/Member Variables -/ | |
29 | //--------------------------/ | |
30 | ||
31 | /** | |
32 | * | |
33 | * The name of the property to be used to activate | |
34 | * a profile. | |
35 | * | |
36 | */ | |
37 | private String name; | |
38 | ||
39 | /** | |
40 | * | |
41 | * The value of the property to be used to activate | |
42 | * a profile. | |
43 | * | |
44 | */ | |
45 | private String value; | |
46 | ||
47 | ||
48 | //-----------/ | |
49 | //- Methods -/ | |
50 | //-----------/ | |
51 | ||
52 | /** | |
53 | * Get the name of the property to be used to activate a | |
54 | * profile. | |
55 | * | |
56 | * @return String | |
57 | */ | |
58 | public String getName() | |
59 | { | |
60 | 0 | return this.name; |
61 | } //-- String getName() | |
62 | ||
63 | /** | |
64 | * Get the value of the property to be used to activate a | |
65 | * profile. | |
66 | * | |
67 | * @return String | |
68 | */ | |
69 | public String getValue() | |
70 | { | |
71 | 0 | return this.value; |
72 | } //-- String getValue() | |
73 | ||
74 | /** | |
75 | * Set the name of the property to be used to activate a | |
76 | * profile. | |
77 | * | |
78 | * @param name | |
79 | */ | |
80 | public void setName( String name ) | |
81 | { | |
82 | 0 | this.name = name; |
83 | 0 | } //-- void setName( String ) |
84 | ||
85 | /** | |
86 | * Set the value of the property to be used to activate a | |
87 | * profile. | |
88 | * | |
89 | * @param value | |
90 | */ | |
91 | public void setValue( String value ) | |
92 | { | |
93 | 0 | this.value = value; |
94 | 0 | } //-- void setValue( String ) |
95 | ||
96 | ||
97 | } |