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 an activator which will detect an operating
29 * system's attributes in order to activate
30 * its profile.
31 *
32 *
33 * @version $Revision$ $Date$
34 */
35 @SuppressWarnings( "all" )
36 public class ActivationOS
37 implements java.io.Serializable
38 {
39
40 //--------------------------/
41 //- Class/Member Variables -/
42 //--------------------------/
43
44 /**
45 * The name of the OS to be used to activate a profile.
46 */
47 private String name;
48
49 /**
50 * The general family of the OS to be used to activate a
51 * profile (e.g. 'windows').
52 */
53 private String family;
54
55 /**
56 * The architecture of the OS to be used to activate a profile.
57 */
58 private String arch;
59
60 /**
61 * The version of the OS to be used to activate a profile.
62 */
63 private String version;
64
65
66 //-----------/
67 //- Methods -/
68 //-----------/
69
70 /**
71 * Get the architecture of the OS to be used to activate a
72 * profile.
73 *
74 * @return String
75 */
76 public String getArch()
77 {
78 return this.arch;
79 } //-- String getArch()
80
81 /**
82 * Get the general family of the OS to be used to activate a
83 * profile (e.g. 'windows').
84 *
85 * @return String
86 */
87 public String getFamily()
88 {
89 return this.family;
90 } //-- String getFamily()
91
92 /**
93 * Get the name of the OS to be used to activate a profile.
94 *
95 * @return String
96 */
97 public String getName()
98 {
99 return this.name;
100 } //-- String getName()
101
102 /**
103 * Get the version of the OS to be used to activate a profile.
104 *
105 * @return String
106 */
107 public String getVersion()
108 {
109 return this.version;
110 } //-- String getVersion()
111
112 /**
113 * Set the architecture of the OS to be used to activate a
114 * profile.
115 *
116 * @param arch a arch object.
117 */
118 public void setArch( String arch )
119 {
120 this.arch = arch;
121 } //-- void setArch( String )
122
123 /**
124 * Set the general family of the OS to be used to activate a
125 * profile (e.g. 'windows').
126 *
127 * @param family a family object.
128 */
129 public void setFamily( String family )
130 {
131 this.family = family;
132 } //-- void setFamily( String )
133
134 /**
135 * Set the name of the OS to be used to activate a profile.
136 *
137 * @param name a name object.
138 */
139 public void setName( String name )
140 {
141 this.name = name;
142 } //-- void setName( String )
143
144 /**
145 * Set the version of the OS to be used to activate a profile.
146 *
147 * @param version a version object.
148 */
149 public void setVersion( String version )
150 {
151 this.version = version;
152 } //-- void setVersion( String )
153
154 }