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