public class ScmSession extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ScmUser> |
scmUsers
list of all the users
|
| Constructor and Description |
|---|
ScmSession()
Constructor which makes a new map of users
|
| Modifier and Type | Method and Description |
|---|---|
void |
addScmUser(String address,
String login,
String password)
Adds a user to the list of users
|
void |
delScmUser(String address)
Removes a user from the list of users
|
String |
getPassword(String url)
Gives the password related to the given repository
|
Map<String,ScmUser> |
getScmUsers() |
String |
getUsername(String url)
Gives the username related to the given repository
|
public void addScmUser(String address, String login, String password)
address - the repository's addresslogin - the username to use to connect to the repositorypassword - the password to use to connect to the repositorypublic void delScmUser(String address)
address - the repository's addresspublic String getUsername(String url)
url - the repository's addressCopyright © 2009–2017 CodeLutin. All rights reserved.