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