Coverage Report - org.apache.maven.model.ActivationOS
 
Classes in this File Line Coverage Branch Coverage Complexity
ActivationOS
8 %
1/13
N/A
1
 
 1  
 /*
 2  
  =================== DO NOT EDIT THIS FILE ====================
 3  
  Generated by Modello 1.0.1 on 2009-09-09 03:04:48,
 4  
  any modifications will be overwritten.
 5  
  ==============================================================
 6  
  */
 7  
 
 8  
 package org.apache.maven.model;
 9  
 
 10  
 /**
 11  
  * This is an activator which will detect an operating system's
 12  
  * attributes in order
 13  
  *         to activate its profile.
 14  
  * 
 15  
  * @version $Revision$ $Date$
 16  
  */
 17  6
 public class ActivationOS
 18  
     implements java.io.Serializable
 19  
 {
 20  
 
 21  
       //--------------------------/
 22  
      //- Class/Member Variables -/
 23  
     //--------------------------/
 24  
 
 25  
     /**
 26  
      * 
 27  
      *             
 28  
      *             The name of the operating system to be used to
 29  
      * activate the profile. This must be an exact match
 30  
      *             of the <code>${os.name}</code> Java property,
 31  
      * such as <code>Windows XP</code>.
 32  
      *             
 33  
      *           
 34  
      */
 35  
     private String name;
 36  
 
 37  
     /**
 38  
      * 
 39  
      *             
 40  
      *             The general family of the OS to be used to
 41  
      * activate the profile, such as
 42  
      *             <code>windows</code> or <code>unix</code>.
 43  
      *             
 44  
      *           
 45  
      */
 46  
     private String family;
 47  
 
 48  
     /**
 49  
      * The architecture of the operating system to be used to
 50  
      * activate the
 51  
      *           profile.
 52  
      */
 53  
     private String arch;
 54  
 
 55  
     /**
 56  
      * The version of the operating system to be used to activate
 57  
      * the
 58  
      *           profile.
 59  
      */
 60  
     private String version;
 61  
 
 62  
 
 63  
       //-----------/
 64  
      //- Methods -/
 65  
     //-----------/
 66  
 
 67  
     /**
 68  
      * Get the architecture of the operating system to be used to
 69  
      * activate the
 70  
      *           profile.
 71  
      * 
 72  
      * @return String
 73  
      */
 74  
     public String getArch()
 75  
     {
 76  0
         return this.arch;
 77  
     } //-- String getArch()
 78  
 
 79  
     /**
 80  
      * Get the general family of the OS to be used to activate the
 81  
      * profile, such as
 82  
      *             <code>windows</code> or <code>unix</code>.
 83  
      * 
 84  
      * @return String
 85  
      */
 86  
     public String getFamily()
 87  
     {
 88  0
         return this.family;
 89  
     } //-- String getFamily()
 90  
 
 91  
     /**
 92  
      * Get the name of the operating system to be used to activate
 93  
      * the profile. This must be an exact match
 94  
      *             of the <code>${os.name}</code> Java property,
 95  
      * such as <code>Windows XP</code>.
 96  
      * 
 97  
      * @return String
 98  
      */
 99  
     public String getName()
 100  
     {
 101  0
         return this.name;
 102  
     } //-- String getName()
 103  
 
 104  
     /**
 105  
      * Get the version of the operating system to be used to
 106  
      * activate the
 107  
      *           profile.
 108  
      * 
 109  
      * @return String
 110  
      */
 111  
     public String getVersion()
 112  
     {
 113  0
         return this.version;
 114  
     } //-- String getVersion()
 115  
 
 116  
     /**
 117  
      * Set the architecture of the operating system to be used to
 118  
      * activate the
 119  
      *           profile.
 120  
      * 
 121  
      * @param arch
 122  
      */
 123  
     public void setArch( String arch )
 124  
     {
 125  0
         this.arch = arch;
 126  0
     } //-- void setArch( String )
 127  
 
 128  
     /**
 129  
      * Set the general family of the OS to be used to activate the
 130  
      * profile, such as
 131  
      *             <code>windows</code> or <code>unix</code>.
 132  
      * 
 133  
      * @param family
 134  
      */
 135  
     public void setFamily( String family )
 136  
     {
 137  0
         this.family = family;
 138  0
     } //-- void setFamily( String )
 139  
 
 140  
     /**
 141  
      * Set the name of the operating system to be used to activate
 142  
      * the profile. This must be an exact match
 143  
      *             of the <code>${os.name}</code> Java property,
 144  
      * such as <code>Windows XP</code>.
 145  
      * 
 146  
      * @param name
 147  
      */
 148  
     public void setName( String name )
 149  
     {
 150  0
         this.name = name;
 151  0
     } //-- void setName( String )
 152  
 
 153  
     /**
 154  
      * Set the version of the operating system to be used to
 155  
      * activate the
 156  
      *           profile.
 157  
      * 
 158  
      * @param version
 159  
      */
 160  
     public void setVersion( String version )
 161  
     {
 162  0
         this.version = version;
 163  0
     } //-- void setVersion( String )
 164  
 
 165  
 
 166  
 }