org.figure8.join.services.vcs
Class SubversionAccessor

java.lang.Object
  extended by org.figure8.join.services.vcs.AbstractVCSAccessor
      extended by org.figure8.join.services.vcs.SubversionAccessor
All Implemented Interfaces:
java.io.Serializable, VCSAccessor

public class SubversionAccessor
extends AbstractVCSAccessor

Implementation of VCSAccessor for Subversion system (see http://subversion.tigris.org). This implementation uses the svn.exe client configured on the execution machine. This later should be in the PATH environment variable (or equivalent).

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
static java.lang.String CHECKOUT_COMMAND
          Constant for the Subversion checkout command
 
Fields inherited from class org.figure8.join.services.vcs.AbstractVCSAccessor
module, password, protocol, rootRepository, user
 
Constructor Summary
SubversionAccessor()
           
 
Method Summary
 void checkout(java.lang.String tag, java.lang.String destDirectory)
          Perform a checkout command (or equivalent) on the VCS using a specified baseline tag.
 void login()
          Login onto configuration management system.
 void logout()
          Logout from configuration management system.
 
Methods inherited from class org.figure8.join.services.vcs.AbstractVCSAccessor
getExecuteStreamHandler, getModule, getPassword, getProtocol, getRootRepository, getUser, setModule, setPassword, setProtocol, setRootRepository, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHECKOUT_COMMAND

public static final java.lang.String CHECKOUT_COMMAND
Constant for the Subversion checkout command

See Also:
Constant Field Values
Constructor Detail

SubversionAccessor

public SubversionAccessor()
Method Detail

login

public void login()
           throws VCSAccessException
Login onto configuration management system.

Throws:
VCSAccessException - if login is not successfull

checkout

public void checkout(java.lang.String tag,
                     java.lang.String destDirectory)
              throws VCSAccessException
Perform a checkout command (or equivalent) on the VCS using a specified baseline tag. Extracted files are stored within destDirectory

Parameters:
tag - Baseline tag for retrieving module from VCS
destDirectory - Path of the destination directory where to put extracted files
Throws:
VCSAccessException - if cehckout command is not successfull

logout

public void logout()
            throws VCSAccessException
Logout from configuration management system.

Throws:
VCSAccessException - if logout is not successfull


Copyright © 2005-2008 Join. All Rights Reserved.