1 /* 2 =================== DO NOT EDIT THIS FILE ==================== 3 Generated by Modello 1.4.1 on 2012-09-02 23:20:49, 4 any modifications will be overwritten. 5 ============================================================== 6 */ 7 8 package org.apache.maven.settings; 9 10 /** 11 * 12 * 13 * This is the file specification used to activate a 14 * profile. The missing value will be a the location 15 * of a file that needs to exist, and if it doesn't the 16 * profile must run. On the other hand exists will test 17 * for the existence of the file and if it is there will 18 * run the profile. 19 * 20 * 21 * 22 * @version $Revision$ $Date$ 23 */ 24 @SuppressWarnings( "all" ) 25 public class ActivationFile 26 implements java.io.Serializable, java.lang.Cloneable 27 { 28 29 //--------------------------/ 30 //- Class/Member Variables -/ 31 //--------------------------/ 32 33 /** 34 * 35 * The name of the file that should be missing to 36 * activate a 37 * profile. 38 * 39 */ 40 private String missing; 41 42 /** 43 * 44 * The name of the file that should exist to 45 * activate a profile. 46 * 47 */ 48 private String exists; 49 50 51 //-----------/ 52 //- Methods -/ 53 //-----------/ 54 55 /** 56 * Method clone. 57 * 58 * @return ActivationFile 59 */ 60 public ActivationFile clone() 61 { 62 try 63 { 64 ActivationFile copy = (ActivationFile) super.clone(); 65 66 return copy; 67 } 68 catch ( java.lang.Exception ex ) 69 { 70 throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName() 71 + " does not support clone()" ).initCause( ex ); 72 } 73 } //-- ActivationFile clone() 74 75 /** 76 * Get the name of the file that should exist to activate a 77 * profile. 78 * 79 * @return String 80 */ 81 public String getExists() 82 { 83 return this.exists; 84 } //-- String getExists() 85 86 /** 87 * Get the name of the file that should be missing to activate 88 * a 89 * profile. 90 * 91 * @return String 92 */ 93 public String getMissing() 94 { 95 return this.missing; 96 } //-- String getMissing() 97 98 /** 99 * Set the name of the file that should exist to activate a 100 * profile. 101 * 102 * @param exists 103 */ 104 public void setExists( String exists ) 105 { 106 this.exists = exists; 107 } //-- void setExists( String ) 108 109 /** 110 * Set the name of the file that should be missing to activate 111 * a 112 * profile. 113 * 114 * @param missing 115 */ 116 public void setMissing( String missing ) 117 { 118 this.missing = missing; 119 } //-- void setMissing( String ) 120 121 }