View Javadoc
1   /*
2    Licensed to the Apache Software Foundation (ASF) under one
3    or more contributor license agreements.  See the NOTICE file
4    distributed with this work for additional information
5    regarding copyright ownership.  The ASF licenses this file
6    to you under the Apache License, Version 2.0 (the
7    "License"); you may not use this file except in compliance
8    with the License.  You may obtain a copy of the License at
9    
10       http://www.apache.org/licenses/LICENSE-2.0
11   
12   Unless required by applicable law or agreed to in writing,
13   software distributed under the License is distributed on an
14   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   KIND, either express or implied.  See the License for the
16   specific language governing permissions and limitations
17   under the License.
18   =================== DO NOT EDIT THIS FILE ====================
19   Generated by Modello 2.4.0,
20   any modifications will be overwritten.
21   ==============================================================
22   */
23  
24  package org.apache.maven.profiles;
25  
26  /**
27   * 
28   *         This is the file specification used to activate a
29   * profile. The missing value will be a the location
30   *         of a file that needs to exist, and if it doesn't the
31   * profile must run.  On the other hand exists will test
32   *         for the existence of the file and if it is there will
33   * run the profile.
34   *       
35   * 
36   * @version $Revision$ $Date$
37   */
38  @SuppressWarnings( "all" )
39  public class ActivationFile
40      implements java.io.Serializable
41  {
42  
43        //--------------------------/
44       //- Class/Member Variables -/
45      //--------------------------/
46  
47      /**
48       * The name of the file that should be missing to activate a
49       * profile.
50       */
51      private String missing;
52  
53      /**
54       * The name of the file that should exist to activate a profile.
55       */
56      private String exists;
57  
58  
59        //-----------/
60       //- Methods -/
61      //-----------/
62  
63      /**
64       * Get the name of the file that should exist to activate a
65       * profile.
66       * 
67       * @return String
68       */
69      public String getExists()
70      {
71          return this.exists;
72      } //-- String getExists()
73  
74      /**
75       * Get the name of the file that should be missing to activate
76       * a profile.
77       * 
78       * @return String
79       */
80      public String getMissing()
81      {
82          return this.missing;
83      } //-- String getMissing()
84  
85      /**
86       * Set the name of the file that should exist to activate a
87       * profile.
88       * 
89       * @param exists a exists object.
90       */
91      public void setExists( String exists )
92      {
93          this.exists = exists;
94      } //-- void setExists( String )
95  
96      /**
97       * Set the name of the file that should be missing to activate
98       * a profile.
99       * 
100      * @param missing a missing object.
101      */
102     public void setMissing( String missing )
103     {
104         this.missing = missing;
105     } //-- void setMissing( String )
106 
107 }