|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VCSAccessor
Service interface defining an accessor for Version and Configuration management System. This interface defines operations for initializing this accessor (bunch of setX() methods), for retrieving this accessor properties (bunch of getX() methods) and for interacting with VCS system (login(), checkout() and logout() methods).
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. |
java.lang.String |
getModule()
Module of version and configuration management system used by this accessor |
java.lang.String |
getPassword()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getRootRepository()
The root remote repository path of VCS. |
java.lang.String |
getUser()
|
void |
login()
Login onto configuration management system. |
void |
logout()
Logout from configuration management system. |
void |
setModule(java.lang.String module)
Set the VCS module to used. |
void |
setPassword(java.lang.String password)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setRootRepository(java.lang.String repository)
Check getRootRepository() comments for details. |
void |
setUser(java.lang.String user)
|
Method Detail |
---|
java.lang.String getUser()
void setUser(java.lang.String user)
user
- The user for connecting to VCS implementationjava.lang.String getPassword()
void setPassword(java.lang.String password)
password
- The password for uer who is connecting to VCSjava.lang.String getModule()
void setModule(java.lang.String module)
module
- Module of VCS used by this accessorjava.lang.String getProtocol()
void setProtocol(java.lang.String protocol)
protocol
- The protocol used for connecting VCSjava.lang.String getRootRepository()
void setRootRepository(java.lang.String repository)
getRootRepository()
comments for details.
repository
- The VCS remote repository pathvoid login() throws VCSAccessException
VCSAccessException
- if login is not successfullvoid 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 successfullvoid 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 |