Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ScmProviderRepositoryWithHost |
|
| 1.0;1 |
1 | package org.apache.maven.scm.provider; | |
2 | ||
3 | /* | |
4 | * Licensed to the Apache Software Foundation (ASF) under one | |
5 | * or more contributor license agreements. See the NOTICE file | |
6 | * distributed with this work for additional information | |
7 | * regarding copyright ownership. The ASF licenses this file | |
8 | * to you under the Apache License, Version 2.0 (the | |
9 | * "License"); you may not use this file except in compliance | |
10 | * with the License. You may obtain a copy of the License at | |
11 | * | |
12 | * http://www.apache.org/licenses/LICENSE-2.0 | |
13 | * | |
14 | * Unless required by applicable law or agreed to in writing, | |
15 | * software distributed under the License is distributed on an | |
16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
17 | * KIND, either express or implied. See the License for the | |
18 | * specific language governing permissions and limitations | |
19 | * under the License. | |
20 | */ | |
21 | ||
22 | /** | |
23 | * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a> | |
24 | * @version $Id: ScmProviderRepositoryWithHost.java 754778 2009-03-15 22:26:37Z olamy $ | |
25 | */ | |
26 | 0 | public abstract class ScmProviderRepositoryWithHost |
27 | extends ScmProviderRepository | |
28 | { | |
29 | private String host; | |
30 | ||
31 | private int port; | |
32 | ||
33 | private String privateKey; | |
34 | ||
35 | private String passphrase; | |
36 | ||
37 | public String getHost() | |
38 | { | |
39 | 0 | return host; |
40 | } | |
41 | ||
42 | public void setHost( String host ) | |
43 | { | |
44 | 0 | this.host = host; |
45 | 0 | } |
46 | ||
47 | public int getPort() | |
48 | { | |
49 | 0 | return port; |
50 | } | |
51 | ||
52 | public void setPort( int port ) | |
53 | { | |
54 | 0 | this.port = port; |
55 | 0 | } |
56 | ||
57 | public String getPrivateKey() | |
58 | { | |
59 | 0 | return privateKey; |
60 | } | |
61 | ||
62 | public void setPrivateKey( String privateKey ) | |
63 | { | |
64 | 0 | this.privateKey = privateKey; |
65 | 0 | } |
66 | ||
67 | public String getPassphrase() | |
68 | { | |
69 | 0 | return passphrase; |
70 | } | |
71 | ||
72 | public void setPassphrase( String passphrase ) | |
73 | { | |
74 | 0 | this.passphrase = passphrase; |
75 | 0 | } |
76 | } |