001    // =================== DO NOT EDIT THIS FILE ====================
002    // Generated by Modello 1.7,
003    // any modifications will be overwritten.
004    // ==============================================================
005    
006    package org.apache.maven.settings;
007    
008    /**
009     * 
010     *         
011     *         This is the file specification used to activate a
012     * profile. The missing value will be a the location
013     *         of a file that needs to exist, and if it doesn't the
014     * profile must run.  On the other hand exists will test
015     *         for the existence of the file and if it is there will
016     * run the profile.
017     *         
018     *       
019     * 
020     * @version $Revision$ $Date$
021     */
022    @SuppressWarnings( "all" )
023    public class ActivationFile
024        implements java.io.Serializable, java.lang.Cloneable
025    {
026    
027          //--------------------------/
028         //- Class/Member Variables -/
029        //--------------------------/
030    
031        /**
032         * 
033         *             The name of the file that should be missing to
034         * activate a
035         *             profile.
036         *           
037         */
038        private String missing;
039    
040        /**
041         * 
042         *             The name of the file that should exist to
043         * activate a profile.
044         *           
045         */
046        private String exists;
047    
048    
049          //-----------/
050         //- Methods -/
051        //-----------/
052    
053        /**
054         * Method clone.
055         * 
056         * @return ActivationFile
057         */
058        public ActivationFile clone()
059        {
060            try
061            {
062                ActivationFile copy = (ActivationFile) super.clone();
063    
064                return copy;
065            }
066            catch ( java.lang.Exception ex )
067            {
068                throw (java.lang.RuntimeException) new java.lang.UnsupportedOperationException( getClass().getName()
069                    + " does not support clone()" ).initCause( ex );
070            }
071        } //-- ActivationFile clone()
072    
073        /**
074         * Get the name of the file that should exist to activate a
075         * profile.
076         * 
077         * @return String
078         */
079        public String getExists()
080        {
081            return this.exists;
082        } //-- String getExists()
083    
084        /**
085         * Get the name of the file that should be missing to activate
086         * a
087         *             profile.
088         * 
089         * @return String
090         */
091        public String getMissing()
092        {
093            return this.missing;
094        } //-- String getMissing()
095    
096        /**
097         * Set the name of the file that should exist to activate a
098         * profile.
099         * 
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    }