View Javadoc
1   /*
2    =================== DO NOT EDIT THIS FILE ====================
3    Generated by Modello 1.1 on 2014-09-13 07:10:33,
4    any modifications will be overwritten.
5    ==============================================================
6    */
7   
8   package org.apache.maven.scm.providers.svn.settings;
9   
10  /**
11   * Class Settings.
12   * 
13   * @version $Revision$ $Date$
14   */
15  @SuppressWarnings( "all" )
16  public class Settings
17      implements java.io.Serializable
18  {
19  
20        //--------------------------/
21       //- Class/Member Variables -/
22      //--------------------------/
23  
24      /**
25       * 
26       *              Instructs Subversion to read configuration
27       * information from the specified directory instead of the
28       * default location.
29       *           
30       */
31      private String configDirectory;
32  
33      /**
34       * 
35       *              Must be <code>true</code> if svn is a cygwin
36       * svn command.
37       *           
38       */
39      private boolean useCygwinPath = false;
40  
41      /**
42       * 
43       *              The cygwin mount path.
44       *           
45       */
46      private String cygwinMountPath = "/cygwin";
47  
48      /**
49       * 
50       *              Switch off if you do not like to use
51       * <code>--non-interactive</code> e.g. on Leopard (see
52       * SCM-402).
53       *           
54       */
55      private boolean useNonInteractive = true;
56  
57      /**
58       * 
59       *              Switch on if you want to cache authentication
60       * credentials (Warning: this will overwrite existing
61       * authentication credentials on your working copy).
62       *              If you don't change this, the command line
63       * option <code>--no-auth-cache</code> is used.
64       *           
65       */
66      private boolean useAuthCache = false;
67  
68      /**
69       * 
70       *              Switch on to use svn command line option:
71       * <code>--trust-server-cert</code>.
72       *           
73       */
74      private boolean trustServerCert = false;
75  
76      /**
77       * Field modelEncoding.
78       */
79      private String modelEncoding = "UTF-8";
80  
81  
82        //-----------/
83       //- Methods -/
84      //-----------/
85  
86      /**
87       * Get instructs Subversion to read configuration information
88       * from the specified directory instead of the default
89       * location.
90       * 
91       * @return String
92       */
93      public String getConfigDirectory()
94      {
95          return this.configDirectory;
96      } //-- String getConfigDirectory()
97  
98      /**
99       * 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 }