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
-
Field Summary
FieldsFields inherited from class AbstractSvnScmProvider
CURRENT_WORKING_DIRECTORYFields inherited from class AbstractScmProvider
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandprotected StringgetRepositoryURL(File path) protected SvnCommandprotected SvnCommandprotected SvnCommandprotected SvnCommandremoteInfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) booleanremoteUrlExist(ScmProviderRepository repository, CommandParameters parameters) voidsetInteractive(boolean interactive) Sets the interactive mode, which by default (i.e.Methods inherited from class AbstractSvnScmProvider
add, blame, branch, changelog, checkin, checkout, diff, executeCommand, export, getScmSpecificFilename, getScmType, info, list, makeProviderScmRepository, makeProviderScmRepository, mkdir, remove, status, tag, untag, update, validateScmUrlMethods inherited from class 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
-
Field Details
-
interactive
private boolean interactive
-
-
Constructor Details
-
SvnExeScmProvider
public SvnExeScmProvider()
-
-
Method Details
-
setInteractive
public void setInteractive(boolean interactive) Description copied from interface:ScmProviderSets the interactive mode, which by default (i.e. if not called) is assumed to betrueby providers. As providers are usually singletons, this affects every usage of this provider.- Parameters:
interactive- eithertruein case user may be prompted for information, otherwisefalse. The default istrue.
-
getAddCommand
- Specified by:
getAddCommandin classAbstractSvnScmProvider
-
getBranchCommand
- Specified by:
getBranchCommandin classAbstractSvnScmProvider
-
getChangeLogCommand
- Specified by:
getChangeLogCommandin classAbstractSvnScmProvider
-
getCheckInCommand
- Specified by:
getCheckInCommandin classAbstractSvnScmProvider
-
getCheckOutCommand
- Specified by:
getCheckOutCommandin classAbstractSvnScmProvider
-
getDiffCommand
- Specified by:
getDiffCommandin classAbstractSvnScmProvider
-
getExportCommand
- Specified by:
getExportCommandin classAbstractSvnScmProvider
-
getRemoveCommand
- Specified by:
getRemoveCommandin classAbstractSvnScmProvider
-
getStatusCommand
- Specified by:
getStatusCommandin classAbstractSvnScmProvider
-
getTagCommand
- Specified by:
getTagCommandin classAbstractSvnScmProvider
-
getUntagCommand
- Specified by:
getUntagCommandin classAbstractSvnScmProvider
-
getUpdateCommand
- Specified by:
getUpdateCommandin classAbstractSvnScmProvider
-
getListCommand
- Specified by:
getListCommandin classAbstractSvnScmProvider
-
getInfoCommand
- Specified by:
getInfoCommandin classAbstractSvnScmProvider
-
getBlameCommand
- Specified by:
getBlameCommandin classAbstractSvnScmProvider
-
getMkdirCommand
- Specified by:
getMkdirCommandin classAbstractSvnScmProvider
-
getRepositoryURL
- Specified by:
getRepositoryURLin classAbstractSvnScmProvider- Throws:
ScmException
-
remoteInfo
public RemoteInfoScmResult remoteInfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException - Specified by:
remoteInfoin interfaceScmProvider- Overrides:
remoteInfoin 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:
remoteUrlExistin classAbstractSvnScmProvider- Parameters:
repository-parameters-- Returns:
- true if remote url exists
- Throws:
ScmException
-