|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.maven.plugin.buildmetadata.scm.maven.ScmConnectionInfo
public final class ScmConnectionInfo
Provides the information required to connect to a SCM system.
Constructor Summary | |
---|---|
ScmConnectionInfo() |
Method Summary | |
---|---|
protected void |
configure(ScmProviderRepository repository) Configures the repository with authentication information. |
protected void |
configure(ScmProviderRepositoryWithHost repository) Configures the repository with private key and password information. |
protected void |
configure(org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository repository) Configures the repository with the tag base information. |
ScmRepository |
createRepository(ScmManager scmManager) Creates and configures the SCM repository. |
String |
getConnectionUrl() Returns the URL to connect to the SCM system. |
String |
getPassPhrase() Returns the pass phrase to authenticate against the SCM system. |
String |
getPassword() Returns the password to authenticate against the SCM system. |
String |
getPrivateKey() Returns the private key to authenticate against the SCM system. |
String |
getTagBase() Returns the url of tags base directory (used by svn protocol). |
String |
getUserName() Returns the user name to authenticate against the SCM system. |
void |
setPassPhrase(String passPhrase) Sets the pass phrase to authenticate against the SCM system. |
void |
setPassword(String password) Sets the password to authenticate against the SCM system. |
void |
setPrivateKey(String privateKey) Sets the private key to authenticate against the SCM system. |
void |
setScmConnectionUrl(String connectionUrl) Sets the URL to connect to the SCM system. |
void |
setTagBase(String tagBase) Sets the url of tags base directory (used by svn protocol). |
void |
setUserName(String userName) Sets the user name to authenticate against the SCM system. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScmConnectionInfo()
Method Detail |
---|
public String getConnectionUrl()
public void setScmConnectionUrl(String connectionUrl)
connectionUrl
- the URL to connect to the SCM system.
public String getUserName()
public void setUserName(String userName)
userName
- the user name to authenticate against the SCM system.
public String getPassword()
public void setPassword(String password)
password
- the password to authenticate against the SCM system.
public String getPrivateKey()
public void setPrivateKey(String privateKey)
privateKey
- the private key to authenticate against the SCM system.
public String getPassPhrase()
public void setPassPhrase(String passPhrase)
passPhrase
- the pass phrase to authenticate against the SCM system.
public String getTagBase()
public void setTagBase(String tagBase)
tagBase
- the url of tags base directory (used by svn protocol).
public ScmRepository createRepository(ScmManager scmManager) throws ScmException
scmManager
- the manager to create the repository dependent on the
connection URL
.
ScmException
- if the repository implementation cannot be created or configured. This happens especially if no provider exists for the given connection URL.
protected void configure(ScmProviderRepository repository)
repository
- the repository instance to configure.
protected void configure(ScmProviderRepositoryWithHost repository)
repository
- the repository instance to configure.
protected void configure(org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository repository)
repository
- the repository instance to configure.
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |