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