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