public final class ScmConnectionInfo extends Object implements Serializable
| Constructor and Description |
|---|
ScmConnectionInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(org.apache.maven.scm.provider.ScmProviderRepository repository)
Configures the repository with authentication information.
|
protected void |
configure(org.apache.maven.scm.provider.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.
|
org.apache.maven.scm.repository.ScmRepository |
createRepository(org.apache.maven.scm.manager.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.
|
org.apache.maven.scm.ScmVersion |
getRemoteVersion()
Returns the branch or tag version on the remote server to compare against.
|
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 |
setRemoteVersion(org.apache.maven.scm.ScmVersion remoteVersion)
Sets the branch or tag version on the remote server to compare against.
|
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.
|
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 org.apache.maven.scm.ScmVersion getRemoteVersion()
null, the SCM status will be used to determine the
differences.public void setRemoteVersion(org.apache.maven.scm.ScmVersion remoteVersion)
null, the SCM status will be used to determine the
differences.remoteVersion - the branch or tag version on the remote server to
compare against.public org.apache.maven.scm.repository.ScmRepository createRepository(org.apache.maven.scm.manager.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(org.apache.maven.scm.provider.ScmProviderRepository repository)
repository - the repository instance to configure.protected void configure(org.apache.maven.scm.provider.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.Copyright © 2006-2014. All Rights Reserved.