001 /* 002 =================== DO NOT EDIT THIS FILE ==================== 003 Generated by Modello 1.4.1 on 2012-01-20 18:32:34, 004 any modifications will be overwritten. 005 ============================================================== 006 */ 007 008 package org.apache.maven.profiles; 009 010 /** 011 * 012 * This is the file specification used to activate a 013 * profile. The missing value will be a the location 014 * of a file that needs to exist, and if it doesn't the 015 * profile must run. On the other hand exists will test 016 * for the existence of the file and if it is there will 017 * run the profile. 018 * 019 * 020 * @version $Revision$ $Date$ 021 */ 022 @SuppressWarnings( "all" ) 023 public class ActivationFile 024 implements java.io.Serializable 025 { 026 027 //--------------------------/ 028 //- Class/Member Variables -/ 029 //--------------------------/ 030 031 /** 032 * The name of the file that should be missing to activate a 033 * profile. 034 */ 035 private String missing; 036 037 /** 038 * The name of the file that should exist to activate a profile. 039 */ 040 private String exists; 041 042 043 //-----------/ 044 //- Methods -/ 045 //-----------/ 046 047 /** 048 * Get the name of the file that should exist to activate a 049 * profile. 050 * 051 * @return String 052 */ 053 public String getExists() 054 { 055 return this.exists; 056 } //-- String getExists() 057 058 /** 059 * Get the name of the file that should be missing to activate 060 * a profile. 061 * 062 * @return String 063 */ 064 public String getMissing() 065 { 066 return this.missing; 067 } //-- String getMissing() 068 069 /** 070 * Set the name of the file that should exist to activate a 071 * profile. 072 * 073 * @param exists 074 */ 075 public void setExists( String exists ) 076 { 077 this.exists = exists; 078 } //-- void setExists( String ) 079 080 /** 081 * Set the name of the file that should be missing to activate 082 * a profile. 083 * 084 * @param missing 085 */ 086 public void setMissing( String missing ) 087 { 088 this.missing = missing; 089 } //-- void setMissing( String ) 090 091 }