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