001/* 002 Licensed to the Apache Software Foundation (ASF) under one 003 or more contributor license agreements. See the NOTICE file 004 distributed with this work for additional information 005 regarding copyright ownership. The ASF licenses this file 006 to you under the Apache License, Version 2.0 (the 007 "License"); you may not use this file except in compliance 008 with the License. You may obtain a copy of the License at 009 010 http://www.apache.org/licenses/LICENSE-2.0 011 012 Unless required by applicable law or agreed to in writing, 013 software distributed under the License is distributed on an 014 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 015 KIND, either express or implied. See the License for the 016 specific language governing permissions and limitations 017 under the License. 018 =================== DO NOT EDIT THIS FILE ==================== 019 Generated by Modello 2.5.1, 020 any modifications will be overwritten. 021 ============================================================== 022 */ 023 024package org.apache.maven.scm.providers.svn.settings; 025 026/** 027 * Class Settings. 028 * 029 * @version $Revision$ $Date$ 030 */ 031@SuppressWarnings( "all" ) 032public class Settings 033 implements java.io.Serializable 034{ 035 036 //--------------------------/ 037 //- Class/Member Variables -/ 038 //--------------------------/ 039 040 /** 041 * 042 * Instructs Subversion to read configuration 043 * information from the specified directory instead of the 044 * default location. 045 * 046 */ 047 private String configDirectory; 048 049 /** 050 * 051 * Must be <code>true</code> if svn is a cygwin 052 * svn command. 053 * 054 */ 055 private boolean useCygwinPath = false; 056 057 /** 058 * 059 * The cygwin mount path. 060 * 061 */ 062 private String cygwinMountPath = "/cygwin"; 063 064 /** 065 * 066 * Switch on if you want to use 067 * <code>--non-interactive</code> irrespective of the 068 * interactive flag set on the according SCM provider. The 069 * value false means that provider's interactive flag is used 070 * to determine this CLI argument. 071 * 072 */ 073 private boolean useNonInteractive = false; 074 075 /** 076 * 077 * Switch on if you want to cache authentication 078 * credentials (Warning: this will overwrite existing 079 * authentication credentials on your working copy). 080 * If you don't change this, the command line 081 * option <code>--no-auth-cache</code> is used. 082 * 083 */ 084 private boolean useAuthCache = false; 085 086 /** 087 * 088 * Switch on to use svn command line option: 089 * <code>--trust-server-cert</code>. 090 * 091 */ 092 private boolean trustServerCert = false; 093 094 /** 095 * Field modelEncoding. 096 */ 097 private String modelEncoding = "UTF-8"; 098 099 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}