View Javadoc

1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.4.1 on 2012-01-20 18:05:13,
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  @SuppressWarnings( "all" )
23  public class ActivationFile
24      implements java.io.Serializable
25  {
26  
27        //--------------------------/
28       //- Class/Member Variables -/
29      //--------------------------/
30  
31      /**
32       * The name of the file that should be missing to activate a
33       * profile.
34       */
35      private String missing;
36  
37      /**
38       * The name of the file that should exist to activate a profile.
39       */
40      private String exists;
41  
42  
43        //-----------/
44       //- Methods -/
45      //-----------/
46  
47      /**
48       * Get the name of the file that should exist to activate a
49       * profile.
50       * 
51       * @return String
52       */
53      public String getExists()
54      {
55          return this.exists;
56      } //-- String getExists()
57  
58      /**
59       * Get the name of the file that should be missing to activate
60       * a profile.
61       * 
62       * @return String
63       */
64      public String getMissing()
65      {
66          return this.missing;
67      } //-- String getMissing()
68  
69      /**
70       * Set the name of the file that should exist to activate a
71       * profile.
72       * 
73       * @param exists
74       */
75      public void setExists( String exists )
76      {
77          this.exists = exists;
78      } //-- void setExists( String )
79  
80      /**
81       * Set the name of the file that should be missing to activate
82       * a profile.
83       * 
84       * @param missing
85       */
86      public void setMissing( String missing )
87      {
88          this.missing = missing;
89      } //-- void setMissing( String )
90  
91  }