1 /*
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 =================== DO NOT EDIT THIS FILE ====================
19 Generated by Modello 2.4.0,
20 any modifications will be overwritten.
21 ==============================================================
22 */
23
24 package org.apache.maven.profiles;
25
26 /**
27 *
28 * This is the property specification used to activate a
29 * profile. If the value field is empty,
30 * then the existence of the named property will activate
31 * the profile, otherwise it does a case-sensitive
32 * match against the property value as well.
33 *
34 *
35 * @version $Revision$ $Date$
36 */
37 @SuppressWarnings( "all" )
38 public class ActivationProperty
39 implements java.io.Serializable
40 {
41
42 //--------------------------/
43 //- Class/Member Variables -/
44 //--------------------------/
45
46 /**
47 * The name of the property to be used to activate a profile.
48 */
49 private String name;
50
51 /**
52 * The value of the property to be used to activate a profile.
53 */
54 private String value;
55
56
57 //-----------/
58 //- Methods -/
59 //-----------/
60
61 /**
62 * Get the name of the property to be used to activate a
63 * profile.
64 *
65 * @return String
66 */
67 public String getName()
68 {
69 return this.name;
70 } //-- String getName()
71
72 /**
73 * Get the value of the property to be used to activate a
74 * profile.
75 *
76 * @return String
77 */
78 public String getValue()
79 {
80 return this.value;
81 } //-- String getValue()
82
83 /**
84 * Set the name of the property to be used to activate a
85 * profile.
86 *
87 * @param name a name object.
88 */
89 public void setName( String name )
90 {
91 this.name = name;
92 } //-- void setName( String )
93
94 /**
95 * Set the value of the property to be used to activate a
96 * profile.
97 *
98 * @param value a value object.
99 */
100 public void setValue( String value )
101 {
102 this.value = value;
103 } //-- void setValue( String )
104
105 }