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 the file specification used to activate a 13 * profile. The missing value will be a the location 14 * of a file that needs to exist, and if it doesn't the 15 * profile must run. On the other hand exists will test 16 * for the existence of the file and if it is there will 17 * run the profile. 18 * 19 * 20 * @version $Revision$ $Date$ 21 */ 22 public class ActivationFile 23 implements java.io.Serializable 24 { 25 26 //--------------------------/ 27 //- Class/Member Variables -/ 28 //--------------------------/ 29 30 /** 31 * The name of the file that should be missing to activate a 32 * profile. 33 */ 34 private String missing; 35 36 /** 37 * The name of the file that should exist to activate a profile. 38 */ 39 private String exists; 40 41 42 //-----------/ 43 //- Methods -/ 44 //-----------/ 45 46 /** 47 * Get the name of the file that should exist to activate a 48 * profile. 49 * 50 * @return String 51 */ 52 public String getExists() 53 { 54 return this.exists; 55 } //-- String getExists() 56 57 /** 58 * Get the name of the file that should be missing to activate 59 * a profile. 60 * 61 * @return String 62 */ 63 public String getMissing() 64 { 65 return this.missing; 66 } //-- String getMissing() 67 68 /** 69 * Set the name of the file that should exist to activate a 70 * profile. 71 * 72 * @param exists 73 */ 74 public void setExists( String exists ) 75 { 76 this.exists = exists; 77 } //-- void setExists( String ) 78 79 /** 80 * Set the name of the file that should be missing to activate 81 * a profile. 82 * 83 * @param missing 84 */ 85 public void setMissing( String missing ) 86 { 87 this.missing = missing; 88 } //-- void setMissing( String ) 89 90 91 }