001 /* 002 =================== DO NOT EDIT THIS FILE ==================== 003 Generated by Modello 1.4.1 on 2013-02-24 03:31:03, 004 any modifications will be overwritten. 005 ============================================================== 006 */ 007 008 package org.apache.maven.settings; 009 010 /** 011 * 012 * 013 * This is an activator which will detect an operating 014 * system's attributes in order to activate 015 * its profile. 016 * 017 * 018 * 019 * @version $Revision$ $Date$ 020 */ 021 @SuppressWarnings( "all" ) 022 public class ActivationOS 023 implements java.io.Serializable, java.lang.Cloneable 024 { 025 026 //--------------------------/ 027 //- Class/Member Variables -/ 028 //--------------------------/ 029 030 /** 031 * 032 * The name of the OS to be used to activate a 033 * profile. 034 * 035 */ 036 private String name; 037 038 /** 039 * 040 * The general family of the OS to be used to 041 * activate a 042 * profile (e.g. 'windows') 043 * . 044 */ 045 private String family; 046 047 /** 048 * 049 * The architecture of the OS to be used to 050 * activate a profile. 051 * 052 */ 053 private String arch; 054 055 /** 056 * 057 * The version of the OS to be used to activate a 058 * profile. 059 * 060 */ 061 private String version; 062 063 064 //-----------/ 065 //- Methods -/ 066 //-----------/ 067 068 /** 069 * Method clone. 070 * 071 * @return ActivationOS 072 */ 073 public ActivationOS clone() 074 { 075 try 076 { 077 ActivationOS copy = (ActivationOS) super.clone(); 078 079 return copy; 080 } 081 catch ( java.lang.Exception ex ) 082 { 083 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 084 + " does not support clone()" ).initCause( ex ); 085 } 086 } //-- ActivationOS clone() 087 088 /** 089 * Get the architecture of the OS to be used to activate a 090 * profile. 091 * 092 * @return String 093 */ 094 public String getArch() 095 { 096 return this.arch; 097 } //-- String getArch() 098 099 /** 100 * Get the general family of the OS to be used to activate a 101 * profile (e.g. 'windows'). 102 * 103 * @return String 104 */ 105 public String getFamily() 106 { 107 return this.family; 108 } //-- String getFamily() 109 110 /** 111 * Get the name of the OS to be used to activate a profile. 112 * 113 * @return String 114 */ 115 public String getName() 116 { 117 return this.name; 118 } //-- String getName() 119 120 /** 121 * Get the version of the OS to be used to activate a profile. 122 * 123 * @return String 124 */ 125 public String getVersion() 126 { 127 return this.version; 128 } //-- String getVersion() 129 130 /** 131 * Set the architecture of the OS to be used to activate a 132 * profile. 133 * 134 * @param arch 135 */ 136 public void setArch( String arch ) 137 { 138 this.arch = arch; 139 } //-- void setArch( String ) 140 141 /** 142 * Set the general family of the OS to be used to activate a 143 * profile (e.g. 'windows'). 144 * 145 * @param family 146 */ 147 public void setFamily( String family ) 148 { 149 this.family = family; 150 } //-- void setFamily( String ) 151 152 /** 153 * Set the name of the OS to be used to activate a profile. 154 * 155 * @param name 156 */ 157 public void setName( String name ) 158 { 159 this.name = name; 160 } //-- void setName( String ) 161 162 /** 163 * Set the version of the OS to be used to activate a profile. 164 * 165 * @param version 166 */ 167 public void setVersion( String version ) 168 { 169 this.version = version; 170 } //-- void setVersion( String ) 171 172 }