1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package nl.toolforge.karma.core.vc.svnimpl;
20
21 import nl.toolforge.karma.core.location.BaseLocation;
22 import nl.toolforge.karma.core.location.LocationException;
23 import nl.toolforge.karma.core.location.LocationType;
24
25 /***
26 * @author D.A. Smedes
27 * @version $Id: SubversionLocationImpl.java,v 1.3 2004/11/02 22:26:44 asmedes Exp $
28 */
29 public final class SubversionLocationImpl extends BaseLocation {
30
31 private String username = null;
32 private String password = null;
33
34 public SubversionLocationImpl(String id) {
35 super(id, LocationType.SUBVERSION);
36 }
37
38 public void setUsername(String username) {
39 this.username = username;
40 }
41
42 public void setPassword(String encodedPassword) {
43
44
45
46 password = encodedPassword;
47 }
48
49 /***
50 * Always true; Subversion not yet supported.
51 * @return
52 */
53 public boolean isAvailable() {
54 return true;
55 }
56
57 public void connect() throws LocationException {
58
59 }
60
61 public StringBuffer asXML() {
62 return null;
63 }
64 }