View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.0.1 on 2009-09-09 03:30:24,
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  public class ActivationOS
20      implements java.io.Serializable
21  {
22  
23        //--------------------------/
24       //- Class/Member Variables -/
25      //--------------------------/
26  
27      /**
28       * The name of the OS to be used to activate a profile.
29       */
30      private String name;
31  
32      /**
33       * The general family of the OS to be used to activate a
34       * profile (e.g. 'windows').
35       */
36      private String family;
37  
38      /**
39       * The architecture of the OS to be used to activate a profile.
40       */
41      private String arch;
42  
43      /**
44       * The version of the OS to be used to activate a profile.
45       */
46      private String version;
47  
48  
49        //-----------/
50       //- Methods -/
51      //-----------/
52  
53      /**
54       * Get the architecture of the OS to be used to activate a
55       * profile.
56       * 
57       * @return String
58       */
59      public String getArch()
60      {
61          return this.arch;
62      } //-- String getArch()
63  
64      /**
65       * Get the general family of the OS to be used to activate a
66       * profile (e.g. 'windows').
67       * 
68       * @return String
69       */
70      public String getFamily()
71      {
72          return this.family;
73      } //-- String getFamily()
74  
75      /**
76       * Get the name of the OS to be used to activate a profile.
77       * 
78       * @return String
79       */
80      public String getName()
81      {
82          return this.name;
83      } //-- String getName()
84  
85      /**
86       * Get the version of the OS to be used to activate a profile.
87       * 
88       * @return String
89       */
90      public String getVersion()
91      {
92          return this.version;
93      } //-- String getVersion()
94  
95      /**
96       * Set the architecture of the OS to be used to activate a
97       * profile.
98       * 
99       * @param arch
100      */
101     public void setArch( String arch )
102     {
103         this.arch = arch;
104     } //-- void setArch( String )
105 
106     /**
107      * Set the general family of the OS to be used to activate a
108      * profile (e.g. 'windows').
109      * 
110      * @param family
111      */
112     public void setFamily( String family )
113     {
114         this.family = family;
115     } //-- void setFamily( String )
116 
117     /**
118      * Set the name of the OS to be used to activate a profile.
119      * 
120      * @param name
121      */
122     public void setName( String name )
123     {
124         this.name = name;
125     } //-- void setName( String )
126 
127     /**
128      * Set the version of the OS to be used to activate a profile.
129      * 
130      * @param version
131      */
132     public void setVersion( String version )
133     {
134         this.version = version;
135     } //-- void setVersion( String )
136 
137 
138 }