nl.toolforge.karma.core.vc.svnimpl
Class SubversionLocationImpl
java.lang.Object
nl.toolforge.karma.core.location.BaseLocation
nl.toolforge.karma.core.vc.svnimpl.SubversionLocationImpl
- All Implemented Interfaces:
- Location
- public final class SubversionLocationImpl
- extends BaseLocation
- Version:
- $Id: SubversionLocationImpl.java,v 1.3 2004/11/02 22:26:44 asmedes Exp $
- Author:
- D.A. Smedes
Method Summary |
java.lang.StringBuffer |
asXML()
Returns a <location>-element for the specific type of location. |
void |
connect()
Tries to open a connection to the server if the protocol is a remote protocol. |
boolean |
isAvailable()
Always true; Subversion not yet supported. |
void |
setPassword(java.lang.String encodedPassword)
|
void |
setUsername(java.lang.String username)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
SubversionLocationImpl
public SubversionLocationImpl(java.lang.String id)
setUsername
public void setUsername(java.lang.String username)
setPassword
public void setPassword(java.lang.String encodedPassword)
isAvailable
public boolean isAvailable()
- Always true; Subversion not yet supported.
- Returns:
connect
public void connect()
throws LocationException
- Description copied from interface:
Location
Tries to open a connection to the server if the protocol is a remote protocol.
- Throws:
LocationException
- When connection failed. The ErrorCode will tell the reason.
asXML
public java.lang.StringBuffer asXML()
- Description copied from interface:
Location
- Returns a <location>-element for the specific type of location.
Copyright © 2002-2004 Toolforge. All Rights Reserved.