|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.services.vcs.AbstractVCSAccessor org.figure8.join.services.vcs.CVSAccessor
public class CVSAccessor
Implementation of VCSAccessor
for CVS system. This implementation
uses the cvs.exe client configured on the execution machine. This later should
be in the PATH environment variable (or equivalent).
Field Summary | |
---|---|
static java.lang.String |
CHECKOUT_COMMAND
Constant for the CVS checkout command |
static java.lang.String |
PSERVER_PROTOCOL
Constant for the CVS pserver protocol |
Fields inherited from class org.figure8.join.services.vcs.AbstractVCSAccessor |
---|
module, password, protocol, rootRepository, user |
Constructor Summary | |
---|---|
CVSAccessor()
Creates a new instance of CVSAccessor |
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 |
---|
public static final java.lang.String PSERVER_PROTOCOL
public static final java.lang.String CHECKOUT_COMMAND
Constructor Detail |
---|
public CVSAccessor()
Method Detail |
---|
public void login() throws VCSAccessException
VCSAccessException
- if login is not successfullpublic void checkout(java.lang.String tag, java.lang.String destDirectory) throws VCSAccessException
tag
- Baseline tag for retrieving module from VCSdestDirectory
- Path of the destination directory where to put extracted files
VCSAccessException
- if cehckout command is not successfullpublic void logout() throws VCSAccessException
VCSAccessException
- if logout is not successfull
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |