public class SvnScmProviderRepository extends ScmProviderRepositoryWithHost
Constructor and Description |
---|
SvnScmProviderRepository(String url) |
SvnScmProviderRepository(String url,
String user,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getBranchBase()
Returns the url/directory to be used when tagging this repository.
|
ScmProviderRepository |
getParent()
Get a
ScmProviderRepository that represents the parent folder in the repository. |
String |
getProtocol()
Get the protocol used in this repository (file://, http://, https://,...)
|
String |
getRelativePath(ScmProviderRepository ancestor)
Get the relative path between the repository provided as argument and the current repository.
|
String |
getTagBase()
Returns the url/directory to be used when tagging this repository.
|
String |
getUrl() |
void |
setBranchBase(String branchBase)
Sets the url/directory to be used when branching this repository.
|
void |
setTagBase(String tagBase)
Sets the url/directory to be used when tagging this repository.
|
String |
toString() |
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey
getPassword, getUser, getWorkItem, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser, setWorkItem
public SvnScmProviderRepository(String url)
public SvnScmProviderRepository(String url, String user, String password)
public String getTagBase()
public void setTagBase(String tagBase)
tagBase
- an absolute or relative url to the base directory to create tags in.
URL should be in a format that svn client understands, not the scm url format.public String getBranchBase()
public void setBranchBase(String branchBase)
branchBase
- an absolute or relative url to the base directory to create branch in.
URL should be in a format that svn client understands, not the scm url format.public String getProtocol()
public ScmProviderRepository getParent()
ScmProviderRepository
that represents the parent folder in the repository.
Useful when the repository does not exist yet and we need to create it from the parent.getParent
in class ScmProviderRepository
public String getRelativePath(ScmProviderRepository ancestor)
getRelativePath
in class ScmProviderRepository
ancestor
- another repository that should be ancestor of this onenull
if it can't be resolvedCopyright © 2003–2024 The Apache Software Foundation. All rights reserved.