1 /* 2 Licensed to the Apache Software Foundation (ASF) under one 3 or more contributor license agreements. See the NOTICE file 4 distributed with this work for additional information 5 regarding copyright ownership. The ASF licenses this file 6 to you under the Apache License, Version 2.0 (the 7 "License"); you may not use this file except in compliance 8 with the License. You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, 13 software distributed under the License is distributed on an 14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 KIND, either express or implied. See the License for the 16 specific language governing permissions and limitations 17 under the License. 18 =================== DO NOT EDIT THIS FILE ==================== 19 Generated by Modello 2.5.1, 20 any modifications will be overwritten. 21 ============================================================== 22 */ 23 24 package org.apache.maven.scm.providers.svn.settings; 25 26 /** 27 * Class Settings. 28 * 29 * @version $Revision$ $Date$ 30 */ 31 @SuppressWarnings( "all" ) 32 public class Settings 33 implements java.io.Serializable 34 { 35 36 //--------------------------/ 37 //- Class/Member Variables -/ 38 //--------------------------/ 39 40 /** 41 * 42 * Instructs Subversion to read configuration 43 * information from the specified directory instead of the 44 * default location. 45 * 46 */ 47 private String configDirectory; 48 49 /** 50 * 51 * Must be <code>true</code> if svn is a cygwin 52 * svn command. 53 * 54 */ 55 private boolean useCygwinPath = false; 56 57 /** 58 * 59 * The cygwin mount path. 60 * 61 */ 62 private String cygwinMountPath = "/cygwin"; 63 64 /** 65 * 66 * Switch on if you want to use 67 * <code>--non-interactive</code> irrespective of the 68 * interactive flag set on the according SCM provider. The 69 * value false means that provider's interactive flag is used 70 * to determine this CLI argument. 71 * 72 */ 73 private boolean useNonInteractive = false; 74 75 /** 76 * 77 * Switch on if you want to cache authentication 78 * credentials (Warning: this will overwrite existing 79 * authentication credentials on your working copy). 80 * If you don't change this, the command line 81 * option <code>--no-auth-cache</code> is used. 82 * 83 */ 84 private boolean useAuthCache = false; 85 86 /** 87 * 88 * Switch on to use svn command line option: 89 * <code>--trust-server-cert</code>. 90 * 91 */ 92 private boolean trustServerCert = false; 93 94 /** 95 * Field modelEncoding. 96 */ 97 private String modelEncoding = "UTF-8"; 98 99 100 //-----------/ 101 //- Methods -/ 102 //-----------/ 103 104 /** 105 * Get instructs Subversion to read configuration information 106 * from the specified directory instead of the default 107 * location. 108 * 109 * @return String 110 */ 111 public String getConfigDirectory() 112 { 113 return this.configDirectory; 114 } //-- String getConfigDirectory() 115 116 /** 117 * Get the cygwin mount path. 118 * 119 * @return String 120 */ 121 public String getCygwinMountPath() 122 { 123 return this.cygwinMountPath; 124 } //-- String getCygwinMountPath() 125 126 /** 127 * Get the modelEncoding field. 128 * 129 * @return String 130 */ 131 public String getModelEncoding() 132 { 133 return this.modelEncoding; 134 } //-- String getModelEncoding() 135 136 /** 137 * Get switch on to use svn command line option: 138 * <code>--trust-server-cert</code>. 139 * 140 * @return boolean 141 */ 142 public boolean isTrustServerCert() 143 { 144 return this.trustServerCert; 145 } //-- boolean isTrustServerCert() 146 147 /** 148 * Get switch on if you want to cache authentication 149 * credentials (Warning: this will overwrite existing 150 * authentication credentials on your working copy). 151 * If you don't change this, the command line 152 * option <code>--no-auth-cache</code> is used. 153 * 154 * @return boolean 155 */ 156 public boolean isUseAuthCache() 157 { 158 return this.useAuthCache; 159 } //-- boolean isUseAuthCache() 160 161 /** 162 * Get must be <code>true</code> if svn is a cygwin svn 163 * command. 164 * 165 * @return boolean 166 */ 167 public boolean isUseCygwinPath() 168 { 169 return this.useCygwinPath; 170 } //-- boolean isUseCygwinPath() 171 172 /** 173 * Get switch on if you want to use 174 * <code>--non-interactive</code> irrespective of the 175 * interactive flag set on the according SCM provider. The 176 * value false means that provider's interactive flag is used 177 * to determine this CLI argument. 178 * 179 * @return boolean 180 */ 181 public boolean isUseNonInteractive() 182 { 183 return this.useNonInteractive; 184 } //-- boolean isUseNonInteractive() 185 186 /** 187 * Set instructs Subversion to read configuration information 188 * from the specified directory instead of the default 189 * location. 190 * 191 * @param configDirectory a configDirectory object. 192 */ 193 public void setConfigDirectory( String configDirectory ) 194 { 195 this.configDirectory = configDirectory; 196 } //-- void setConfigDirectory( String ) 197 198 /** 199 * Set the cygwin mount path. 200 * 201 * @param cygwinMountPath a cygwinMountPath object. 202 */ 203 public void setCygwinMountPath( String cygwinMountPath ) 204 { 205 this.cygwinMountPath = cygwinMountPath; 206 } //-- void setCygwinMountPath( String ) 207 208 /** 209 * Set the modelEncoding field. 210 * 211 * @param modelEncoding a modelEncoding object. 212 */ 213 public void setModelEncoding( String modelEncoding ) 214 { 215 this.modelEncoding = modelEncoding; 216 } //-- void setModelEncoding( String ) 217 218 /** 219 * Set switch on to use svn command line option: 220 * <code>--trust-server-cert</code>. 221 * 222 * @param trustServerCert a trustServerCert object. 223 */ 224 public void setTrustServerCert( boolean trustServerCert ) 225 { 226 this.trustServerCert = trustServerCert; 227 } //-- void setTrustServerCert( boolean ) 228 229 /** 230 * Set switch on if you want to cache authentication 231 * credentials (Warning: this will overwrite existing 232 * authentication credentials on your working copy). 233 * If you don't change this, the command line 234 * option <code>--no-auth-cache</code> is used. 235 * 236 * @param useAuthCache a useAuthCache object. 237 */ 238 public void setUseAuthCache( boolean useAuthCache ) 239 { 240 this.useAuthCache = useAuthCache; 241 } //-- void setUseAuthCache( boolean ) 242 243 /** 244 * Set must be <code>true</code> if svn is a cygwin svn 245 * command. 246 * 247 * @param useCygwinPath a useCygwinPath object. 248 */ 249 public void setUseCygwinPath( boolean useCygwinPath ) 250 { 251 this.useCygwinPath = useCygwinPath; 252 } //-- void setUseCygwinPath( boolean ) 253 254 /** 255 * Set switch on if you want to use 256 * <code>--non-interactive</code> irrespective of the 257 * interactive flag set on the according SCM provider. The 258 * value false means that provider's interactive flag is used 259 * to determine this CLI argument. 260 * 261 * @param useNonInteractive a useNonInteractive object. 262 */ 263 public void setUseNonInteractive( boolean useNonInteractive ) 264 { 265 this.useNonInteractive = useNonInteractive; 266 } //-- void setUseNonInteractive( boolean ) 267 268 }