public class SvnProvider extends Object implements ScmProvider
| Constructor and Description |
|---|
SvnProvider()
Initialization of the SVN features
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addressSeemsCompatible(String address) |
String |
changeBranch(String branchName,
String pathToLocalRepos,
String username,
String password) |
String |
createBranch(CreateBranchDto dto) |
boolean |
filesDirectlyAccessible() |
ScmConnection |
getConnection(String address,
String pathToLocalRepos) |
String |
getDefaultBranchName() |
ScmFileManager |
getFileManager(ScmConnection connection) |
List<String> |
listBranches(String address,
String username,
String password) |
boolean |
supportsBranches() |
boolean |
supportsPush() |
public boolean supportsBranches()
supportsBranches in interface ScmProviderpublic List<String> listBranches(String address, String username, String password) throws OperationNotSupportedException
listBranches in interface ScmProviderOperationNotSupportedExceptionpublic String createBranch(CreateBranchDto dto) throws OperationNotSupportedException, AuthenticationException, RepositoryNotFoundException
createBranch in interface ScmProviderOperationNotSupportedExceptionAuthenticationExceptionRepositoryNotFoundExceptionpublic String changeBranch(String branchName, String pathToLocalRepos, String username, String password) throws OperationNotSupportedException
changeBranch in interface ScmProviderOperationNotSupportedExceptionpublic boolean supportsPush()
supportsPush in interface ScmProviderpublic boolean filesDirectlyAccessible()
filesDirectlyAccessible in interface ScmProviderpublic ScmConnection getConnection(String address, String pathToLocalRepos)
getConnection in interface ScmProviderpublic ScmFileManager getFileManager(ScmConnection connection)
getFileManager in interface ScmProviderpublic boolean addressSeemsCompatible(String address)
addressSeemsCompatible in interface ScmProviderpublic String getDefaultBranchName() throws OperationNotSupportedException
getDefaultBranchName in interface ScmProviderOperationNotSupportedExceptionCopyright © 2009–2015 CodeLutin. All rights reserved.