001    /*
002     =================== DO NOT EDIT THIS FILE ====================
003     Generated by Modello 1.1 on 2012-09-08 17:44:07,
004     any modifications will be overwritten.
005     ==============================================================
006     */
007    
008    package org.apache.maven.scm.providers.svn.settings;
009    
010    /**
011     * Class Settings.
012     * 
013     * @version $Revision$ $Date$
014     */
015    @SuppressWarnings( "all" )
016    public class Settings
017        implements java.io.Serializable
018    {
019    
020          //--------------------------/
021         //- Class/Member Variables -/
022        //--------------------------/
023    
024        /**
025         * 
026         *              Instructs Subversion to read configuration
027         * information from the specified directory instead of the
028         * default location.
029         *           
030         */
031        private String configDirectory;
032    
033        /**
034         * 
035         *              Must be <code>true</code> if svn is a cygwin
036         * svn command.
037         *           
038         */
039        private boolean useCygwinPath = false;
040    
041        /**
042         * 
043         *              The cygwin mount path.
044         *           
045         */
046        private String cygwinMountPath = "/cygwin";
047    
048        /**
049         * 
050         *              Switch off if you do not like to use
051         * <code>--non-interactive</code> e.g. on Leopard (see
052         * SCM-402).
053         *           
054         */
055        private boolean useNonInteractive = true;
056    
057        /**
058         * 
059         *              Switch on if you want to cache authentication
060         * credentials (Warning: this will overwrite existing
061         * authentication credentials on your working copy).
062         *              If you don't change this, the command line
063         * option <code>--no-auth-cache</code> is used.
064         *           
065         */
066        private boolean useAuthCache = false;
067    
068        /**
069         * 
070         *              Switch on to use svn command line option:
071         * <code>--trust-server-cert</code>.
072         *           
073         */
074        private boolean trustServerCert = false;
075    
076        /**
077         * Field modelEncoding.
078         */
079        private String modelEncoding = "UTF-8";
080    
081    
082          //-----------/
083         //- Methods -/
084        //-----------/
085    
086        /**
087         * Get instructs Subversion to read configuration information
088         * from the specified directory instead of the default
089         * location.
090         * 
091         * @return String
092         */
093        public String getConfigDirectory()
094        {
095            return this.configDirectory;
096        } //-- String getConfigDirectory()
097    
098        /**
099         * Get the cygwin mount path.
100         * 
101         * @return String
102         */
103        public String getCygwinMountPath()
104        {
105            return this.cygwinMountPath;
106        } //-- String getCygwinMountPath()
107    
108        /**
109         * Get the modelEncoding field.
110         * 
111         * @return String
112         */
113        public String getModelEncoding()
114        {
115            return this.modelEncoding;
116        } //-- String getModelEncoding()
117    
118        /**
119         * Get switch on to use svn command line option:
120         * <code>--trust-server-cert</code>.
121         * 
122         * @return boolean
123         */
124        public boolean isTrustServerCert()
125        {
126            return this.trustServerCert;
127        } //-- boolean isTrustServerCert()
128    
129        /**
130         * Get switch on if you want to cache authentication
131         * credentials (Warning: this will overwrite existing
132         * authentication credentials on your working copy).
133         *              If you don't change this, the command line
134         * option <code>--no-auth-cache</code> is used.
135         * 
136         * @return boolean
137         */
138        public boolean isUseAuthCache()
139        {
140            return this.useAuthCache;
141        } //-- boolean isUseAuthCache()
142    
143        /**
144         * Get must be <code>true</code> if svn is a cygwin svn
145         * command.
146         * 
147         * @return boolean
148         */
149        public boolean isUseCygwinPath()
150        {
151            return this.useCygwinPath;
152        } //-- boolean isUseCygwinPath()
153    
154        /**
155         * Get switch off if you do not like to use
156         * <code>--non-interactive</code> e.g. on Leopard (see
157         * SCM-402).
158         * 
159         * @return boolean
160         */
161        public boolean isUseNonInteractive()
162        {
163            return this.useNonInteractive;
164        } //-- boolean isUseNonInteractive()
165    
166        /**
167         * Set instructs Subversion to read configuration information
168         * from the specified directory instead of the default
169         * location.
170         * 
171         * @param configDirectory
172         */
173        public void setConfigDirectory( String configDirectory )
174        {
175            this.configDirectory = configDirectory;
176        } //-- void setConfigDirectory( String )
177    
178        /**
179         * Set the cygwin mount path.
180         * 
181         * @param cygwinMountPath
182         */
183        public void setCygwinMountPath( String cygwinMountPath )
184        {
185            this.cygwinMountPath = cygwinMountPath;
186        } //-- void setCygwinMountPath( String )
187    
188        /**
189         * Set the modelEncoding field.
190         * 
191         * @param modelEncoding
192         */
193        public void setModelEncoding( String modelEncoding )
194        {
195            this.modelEncoding = modelEncoding;
196        } //-- void setModelEncoding( String )
197    
198        /**
199         * Set switch on to use svn command line option:
200         * <code>--trust-server-cert</code>.
201         * 
202         * @param trustServerCert
203         */
204        public void setTrustServerCert( boolean trustServerCert )
205        {
206            this.trustServerCert = trustServerCert;
207        } //-- void setTrustServerCert( boolean )
208    
209        /**
210         * Set switch on if you want to cache authentication
211         * credentials (Warning: this will overwrite existing
212         * authentication credentials on your working copy).
213         *              If you don't change this, the command line
214         * option <code>--no-auth-cache</code> is used.
215         * 
216         * @param useAuthCache
217         */
218        public void setUseAuthCache( boolean useAuthCache )
219        {
220            this.useAuthCache = useAuthCache;
221        } //-- void setUseAuthCache( boolean )
222    
223        /**
224         * Set must be <code>true</code> if svn is a cygwin svn
225         * command.
226         * 
227         * @param useCygwinPath
228         */
229        public void setUseCygwinPath( boolean useCygwinPath )
230        {
231            this.useCygwinPath = useCygwinPath;
232        } //-- void setUseCygwinPath( boolean )
233    
234        /**
235         * Set switch off if you do not like to use
236         * <code>--non-interactive</code> e.g. on Leopard (see
237         * SCM-402).
238         * 
239         * @param useNonInteractive
240         */
241        public void setUseNonInteractive( boolean useNonInteractive )
242        {
243            this.useNonInteractive = useNonInteractive;
244        } //-- void setUseNonInteractive( boolean )
245    
246    }