org.apache.maven.scm.provider.svn.repository
Class SvnScmProviderRepository

java.lang.Object
  extended by org.apache.maven.scm.provider.ScmProviderRepository
      extended by org.apache.maven.scm.provider.ScmProviderRepositoryWithHost
          extended by org.apache.maven.scm.provider.svn.repository.SvnScmProviderRepository

public class SvnScmProviderRepository
extends ScmProviderRepositoryWithHost

Version:
$Id: SvnScmProviderRepository.java 685548 2008-08-13 13:35:49Z vsiveton $
Author:
Emmanuel Venisse

Constructor Summary
SvnScmProviderRepository(java.lang.String url)
           
SvnScmProviderRepository(java.lang.String url, java.lang.String user, java.lang.String password)
           
 
Method Summary
 java.lang.String getBranchBase()
          Returns the url/directory to be used when tagging this repository.
 ScmProviderRepository getParent()
          
 java.lang.String getProtocol()
          Get the protocol used in this repository (file://, http://, https://,...)
 java.lang.String getRelativePath(ScmProviderRepository ancestor)
          
 java.lang.String getTagBase()
          Returns the url/directory to be used when tagging this repository.
 java.lang.String getUrl()
           
 void setBranchBase(java.lang.String branchBase)
          Sets the url/directory to be used when branching this repository.
 void setTagBase(java.lang.String tagBase)
          Sets the url/directory to be used when tagging this repository.
 java.lang.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, setPassword, setPersistCheckout, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SvnScmProviderRepository

public SvnScmProviderRepository(java.lang.String url)

SvnScmProviderRepository

public SvnScmProviderRepository(java.lang.String url,
                                java.lang.String user,
                                java.lang.String password)
Method Detail

getUrl

public java.lang.String getUrl()

getTagBase

public java.lang.String getTagBase()
Returns the url/directory to be used when tagging this repository.


setTagBase

public void setTagBase(java.lang.String tagBase)
Sets the url/directory to be used when tagging this repository. The TagBase is a way to override the default tag location for the repository. The default tag location is automatically determined for repositories in the standard subversion layout (with /tags /branches /trunk). Specify this value only if the repository is using a directory other than "/tags" for tagging.

Parameters:
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.

getBranchBase

public java.lang.String getBranchBase()
Returns the url/directory to be used when tagging this repository.


setBranchBase

public void setBranchBase(java.lang.String branchBase)
Sets the url/directory to be used when branching this repository. The BranchBase is a way to override the default branch location for the repository. The default branch location is automatically determined for repositories in the standard subversion layout (with /tags /branches /trunk). Specify this value only if the repository is using a directory other than "/branches" for branching.

Parameters:
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.

getProtocol

public java.lang.String getProtocol()
Get the protocol used in this repository (file://, http://, https://,...)

Returns:
the protocol

getParent

public ScmProviderRepository getParent()

Overrides:
getParent in class ScmProviderRepository

getRelativePath

public java.lang.String getRelativePath(ScmProviderRepository ancestor)

Overrides:
getRelativePath in class ScmProviderRepository

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.