View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.4.1 on 2012-01-20 18:05:13,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.profiles;
9   
10  /**
11   * 
12   *         This is an activator which will detect an operating
13   * system's attributes in order to activate
14   *         its profile.
15   *       
16   * 
17   * @version $Revision$ $Date$
18   */
19  @SuppressWarnings( "all" )
20  public class ActivationOS
21      implements java.io.Serializable
22  {
23  
24        //--------------------------/
25       //- Class/Member Variables -/
26      //--------------------------/
27  
28      /**
29       * The name of the OS to be used to activate a profile.
30       */
31      private String name;
32  
33      /**
34       * The general family of the OS to be used to activate a
35       * profile (e.g. 'windows').
36       */
37      private String family;
38  
39      /**
40       * The architecture of the OS to be used to activate a profile.
41       */
42      private String arch;
43  
44      /**
45       * The version of the OS to be used to activate a profile.
46       */
47      private String version;
48  
49  
50        //-----------/
51       //- Methods -/
52      //-----------/
53  
54      /**
55       * Get the architecture of the OS to be used to activate a
56       * profile.
57       * 
58       * @return String
59       */
60      public String getArch()
61      {
62          return this.arch;
63      } //-- String getArch()
64  
65      /**
66       * Get the general family of the OS to be used to activate a
67       * profile (e.g. 'windows').
68       * 
69       * @return String
70       */
71      public String getFamily()
72      {
73          return this.family;
74      } //-- String getFamily()
75  
76      /**
77       * Get the name of the OS to be used to activate a profile.
78       * 
79       * @return String
80       */
81      public String getName()
82      {
83          return this.name;
84      } //-- String getName()
85  
86      /**
87       * Get the version of the OS to be used to activate a profile.
88       * 
89       * @return String
90       */
91      public String getVersion()
92      {
93          return this.version;
94      } //-- String getVersion()
95  
96      /**
97       * Set the architecture of the OS to be used to activate a
98       * profile.
99       * 
100      * @param arch
101      */
102     public void setArch( String arch )
103     {
104         this.arch = arch;
105     } //-- void setArch( String )
106 
107     /**
108      * Set the general family of the OS to be used to activate a
109      * profile (e.g. 'windows').
110      * 
111      * @param family
112      */
113     public void setFamily( String family )
114     {
115         this.family = family;
116     } //-- void setFamily( String )
117 
118     /**
119      * Set the name of the OS to be used to activate a profile.
120      * 
121      * @param name
122      */
123     public void setName( String name )
124     {
125         this.name = name;
126     } //-- void setName( String )
127 
128     /**
129      * Set the version of the OS to be used to activate a profile.
130      * 
131      * @param version
132      */
133     public void setVersion( String version )
134     {
135         this.version = version;
136     } //-- void setVersion( String )
137 
138 }