1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle
.Applications
.PestControl
.Services
.SourceControl
18 using Castle
.Applications
.PestControl
.Model
;
21 /// Summary description for CvsSourceControl.
23 public class CvsSourceControl
: ISourceControl
25 ParameterDefinitionCollection _params
;
27 public CvsSourceControl()
29 _params
= new ParameterDefinitionCollection();
31 _params
.Add( new ParameterDefinition("CVS Root") );
32 _params
.Add( new ParameterDefinition("Protocol",
33 new string[] { "pserver", "ext", "sspi", "ssh", "gserver", "local" }
) );
34 _params
.Add( new ParameterDefinition("Server") );
35 _params
.Add( new ParameterDefinition("Port") );
36 _params
.Add( new ParameterDefinition("Repository Folder") );
37 _params
.Add( new ParameterDefinition("Module") );
38 _params
.Add( new ParameterDefinition("User name") );
39 _params
.Add( new ParameterDefinition("Password") );
42 #region ISourceControl Members
46 get { return "CVS Repository"; }
51 get { return "cvssc"; }
54 public bool HasModifications(Project project
, DateTime since
)
59 public ParameterDefinitionCollection ParametersDefinition
61 get { return _params; }