Class GitExeScmProvider
- java.lang.Object
-
- org.apache.maven.scm.provider.AbstractScmProvider
-
- org.apache.maven.scm.provider.git.AbstractGitScmProvider
-
- org.apache.maven.scm.provider.git.gitexe.GitExeScmProvider
-
- All Implemented Interfaces:
ScmProvider
@Singleton @Named("git") public class GitExeScmProvider extends AbstractGitScmProvider- Author:
- Emmanuel Venisse
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.provider.AbstractScmProvider
logger
-
-
Constructor Summary
Constructors Constructor Description GitExeScmProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GitCommandgetAddCommand()protected GitCommandgetBlameCommand()protected GitCommandgetBranchCommand()protected GitCommandgetChangeLogCommand()protected GitCommandgetCheckInCommand()protected GitCommandgetCheckOutCommand()protected GitCommandgetDiffCommand()protected GitCommandgetExportCommand()GitCommandgetInfoCommand()protected GitCommandgetRemoteInfoCommand()protected GitCommandgetRemoveCommand()protected StringgetRepositoryURL(File path)protected GitCommandgetStatusCommand()protected GitCommandgetTagCommand()protected GitCommandgetUntagCommand()protected GitCommandgetUpdateCommand()voidsetEnvironmentVariable(String key, String value)voidsetInteractive(boolean interactive)Sets the interactive mode, which by default (i.e.-
Methods inherited from class org.apache.maven.scm.provider.git.AbstractGitScmProvider
add, blame, branch, changelog, checkin, checkIn, checkout, diff, executeCommand, export, getScmSpecificFilename, getScmType, info, makeProviderScmRepository, makeProviderScmRepository, remoteInfo, 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, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, diff, diff, edit, edit, export, export, export, export, export, list, list, list, login, mkdir, 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
-
GitExeScmProvider
public GitExeScmProvider()
-
-
Method Detail
-
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
protected GitCommand getAddCommand()
- Specified by:
getAddCommandin classAbstractGitScmProvider
-
getBranchCommand
protected GitCommand getBranchCommand()
- Specified by:
getBranchCommandin classAbstractGitScmProvider
-
getChangeLogCommand
protected GitCommand getChangeLogCommand()
- Specified by:
getChangeLogCommandin classAbstractGitScmProvider
-
getCheckInCommand
protected GitCommand getCheckInCommand()
- Specified by:
getCheckInCommandin classAbstractGitScmProvider
-
getCheckOutCommand
protected GitCommand getCheckOutCommand()
- Specified by:
getCheckOutCommandin classAbstractGitScmProvider
-
getDiffCommand
protected GitCommand getDiffCommand()
- Specified by:
getDiffCommandin classAbstractGitScmProvider
-
getExportCommand
protected GitCommand getExportCommand()
- Specified by:
getExportCommandin classAbstractGitScmProvider
-
getRemoveCommand
protected GitCommand getRemoveCommand()
- Specified by:
getRemoveCommandin classAbstractGitScmProvider
-
getStatusCommand
protected GitCommand getStatusCommand()
- Specified by:
getStatusCommandin classAbstractGitScmProvider
-
getTagCommand
protected GitCommand getTagCommand()
- Specified by:
getTagCommandin classAbstractGitScmProvider
-
getUntagCommand
protected GitCommand getUntagCommand()
- Specified by:
getUntagCommandin classAbstractGitScmProvider
-
getUpdateCommand
protected GitCommand getUpdateCommand()
- Specified by:
getUpdateCommandin classAbstractGitScmProvider
-
getInfoCommand
public GitCommand getInfoCommand()
- Specified by:
getInfoCommandin classAbstractGitScmProvider
-
getBlameCommand
protected GitCommand getBlameCommand()
- Specified by:
getBlameCommandin classAbstractGitScmProvider
-
getRemoteInfoCommand
protected GitCommand getRemoteInfoCommand()
- Specified by:
getRemoteInfoCommandin classAbstractGitScmProvider
-
getRepositoryURL
protected String getRepositoryURL(File path) throws ScmException
- Specified by:
getRepositoryURLin classAbstractGitScmProvider- Throws:
ScmException
-
setEnvironmentVariable
public void setEnvironmentVariable(String key, String value)
-
-