Class SvnExeScmProvider
- java.lang.Object
-
- org.apache.maven.scm.provider.AbstractScmProvider
-
- org.apache.maven.scm.provider.svn.AbstractSvnScmProvider
-
- org.apache.maven.scm.provider.svn.svnexe.SvnExeScmProvider
-
- All Implemented Interfaces:
ScmProvider
@Singleton @Named("svn") public class SvnExeScmProvider extends AbstractSvnScmProvider
- Author:
- Emmanuel Venisse
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.provider.svn.AbstractSvnScmProvider
CURRENT_WORKING_DIRECTORY
-
Fields inherited from class org.apache.maven.scm.provider.AbstractScmProvider
logger
-
-
Constructor Summary
Constructors Constructor Description SvnExeScmProvider()
-
Method Summary
-
Methods inherited from class org.apache.maven.scm.provider.svn.AbstractSvnScmProvider
add, blame, branch, changelog, checkin, checkout, diff, executeCommand, export, getScmSpecificFilename, getScmType, info, list, makeProviderScmRepository, makeProviderScmRepository, mkdir, remove, status, tag, untag, update, validateScmUrl
-
Methods inherited from class org.apache.maven.scm.provider.AbstractScmProvider
add, add, add, blame, blame, branch, branch, branch, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, checkIn, checkIn, checkIn, checkIn, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, diff, diff, edit, edit, export, export, export, export, export, list, list, login, mkdir, remove, requiresEditMode, sanitizeTagName, status, tag, tag, tag, unedit, unedit, update, update, update, update, update, update, update, update, update, update, update, update, validateTagName
-
-
-
-
Constructor Detail
-
SvnExeScmProvider
public SvnExeScmProvider()
-
-
Method Detail
-
setInteractive
public void setInteractive(boolean interactive)
Description copied from interface:ScmProvider
Sets the interactive mode, which by default (i.e. if not called) is assumed to betrue
by providers. As providers are usually singletons, this affects every usage of this provider.- Parameters:
interactive
- eithertrue
in case user may be prompted for information, otherwisefalse
. The default istrue
.
-
getAddCommand
protected SvnCommand getAddCommand()
- Specified by:
getAddCommand
in classAbstractSvnScmProvider
-
getBranchCommand
protected SvnCommand getBranchCommand()
- Specified by:
getBranchCommand
in classAbstractSvnScmProvider
-
getChangeLogCommand
protected SvnCommand getChangeLogCommand()
- Specified by:
getChangeLogCommand
in classAbstractSvnScmProvider
-
getCheckInCommand
protected SvnCommand getCheckInCommand()
- Specified by:
getCheckInCommand
in classAbstractSvnScmProvider
-
getCheckOutCommand
protected SvnCommand getCheckOutCommand()
- Specified by:
getCheckOutCommand
in classAbstractSvnScmProvider
-
getDiffCommand
protected SvnCommand getDiffCommand()
- Specified by:
getDiffCommand
in classAbstractSvnScmProvider
-
getExportCommand
protected SvnCommand getExportCommand()
- Specified by:
getExportCommand
in classAbstractSvnScmProvider
-
getRemoveCommand
protected SvnCommand getRemoveCommand()
- Specified by:
getRemoveCommand
in classAbstractSvnScmProvider
-
getStatusCommand
protected SvnCommand getStatusCommand()
- Specified by:
getStatusCommand
in classAbstractSvnScmProvider
-
getTagCommand
protected SvnCommand getTagCommand()
- Specified by:
getTagCommand
in classAbstractSvnScmProvider
-
getUntagCommand
protected SvnCommand getUntagCommand()
- Specified by:
getUntagCommand
in classAbstractSvnScmProvider
-
getUpdateCommand
protected SvnCommand getUpdateCommand()
- Specified by:
getUpdateCommand
in classAbstractSvnScmProvider
-
getListCommand
protected SvnCommand getListCommand()
- Specified by:
getListCommand
in classAbstractSvnScmProvider
-
getInfoCommand
public SvnCommand getInfoCommand()
- Specified by:
getInfoCommand
in classAbstractSvnScmProvider
-
getBlameCommand
protected SvnCommand getBlameCommand()
- Specified by:
getBlameCommand
in classAbstractSvnScmProvider
-
getMkdirCommand
protected SvnCommand getMkdirCommand()
- Specified by:
getMkdirCommand
in classAbstractSvnScmProvider
-
getRepositoryURL
protected String getRepositoryURL(File path) throws ScmException
- Specified by:
getRepositoryURL
in classAbstractSvnScmProvider
- Throws:
ScmException
-
remoteInfo
public RemoteInfoScmResult remoteInfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
- Specified by:
remoteInfo
in interfaceScmProvider
- Overrides:
remoteInfo
in classAbstractScmProvider
- Parameters:
repository
- the source control systemfileSet
- not use currently but for future useparameters
- some parameters (not use currently but for future use)- Returns:
- if the scm implementation doesn't support "info" result will
null
- Throws:
ScmException
- if any
-
remoteUrlExist
public boolean remoteUrlExist(ScmProviderRepository repository, CommandParameters parameters) throws ScmException
- Specified by:
remoteUrlExist
in classAbstractSvnScmProvider
- Returns:
- true if remote url exists
- Throws:
ScmException
-
-