|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.scm.provider.ScmProviderRepository org.apache.maven.scm.provider.ScmProviderRepositoryWithHost org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository
public class SvnScmProviderRepository
Constructor Summary | |
---|---|
SvnScmProviderRepository(String url)
|
|
SvnScmProviderRepository(String url,
String user,
String password)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.maven.scm.provider.ScmProviderRepositoryWithHost |
---|
getHost, getPassphrase, getPort, getPrivateKey, setHost, setPassphrase, setPort, setPrivateKey |
Methods inherited from class org.apache.maven.scm.provider.ScmProviderRepository |
---|
getPassword, getUser, isPersistCheckout, isPushChanges, setPassword, setPersistCheckout, setPushChanges, setUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SvnScmProviderRepository(String url)
public SvnScmProviderRepository(String url, String user, String password)
Method Detail |
---|
public String getUrl()
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 one
null
if it can't be resolvedpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |