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 GitCommand
getAddCommand()
protected GitCommand
getBlameCommand()
protected GitCommand
getBranchCommand()
protected GitCommand
getChangeLogCommand()
protected GitCommand
getCheckInCommand()
protected GitCommand
getCheckOutCommand()
protected GitCommand
getDiffCommand()
protected GitCommand
getExportCommand()
GitCommand
getInfoCommand()
protected GitCommand
getRemoteInfoCommand()
protected GitCommand
getRemoveCommand()
protected String
getRepositoryURL(File path)
protected GitCommand
getStatusCommand()
protected GitCommand
getTagCommand()
protected GitCommand
getUntagCommand()
protected GitCommand
getUpdateCommand()
void
setEnvironmentVariable(String key, String value)
void
setInteractive(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: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 GitCommand getAddCommand()
- Specified by:
getAddCommand
in classAbstractGitScmProvider
-
getBranchCommand
protected GitCommand getBranchCommand()
- Specified by:
getBranchCommand
in classAbstractGitScmProvider
-
getChangeLogCommand
protected GitCommand getChangeLogCommand()
- Specified by:
getChangeLogCommand
in classAbstractGitScmProvider
-
getCheckInCommand
protected GitCommand getCheckInCommand()
- Specified by:
getCheckInCommand
in classAbstractGitScmProvider
-
getCheckOutCommand
protected GitCommand getCheckOutCommand()
- Specified by:
getCheckOutCommand
in classAbstractGitScmProvider
-
getDiffCommand
protected GitCommand getDiffCommand()
- Specified by:
getDiffCommand
in classAbstractGitScmProvider
-
getExportCommand
protected GitCommand getExportCommand()
- Specified by:
getExportCommand
in classAbstractGitScmProvider
-
getRemoveCommand
protected GitCommand getRemoveCommand()
- Specified by:
getRemoveCommand
in classAbstractGitScmProvider
-
getStatusCommand
protected GitCommand getStatusCommand()
- Specified by:
getStatusCommand
in classAbstractGitScmProvider
-
getTagCommand
protected GitCommand getTagCommand()
- Specified by:
getTagCommand
in classAbstractGitScmProvider
-
getUntagCommand
protected GitCommand getUntagCommand()
- Specified by:
getUntagCommand
in classAbstractGitScmProvider
-
getUpdateCommand
protected GitCommand getUpdateCommand()
- Specified by:
getUpdateCommand
in classAbstractGitScmProvider
-
getInfoCommand
public GitCommand getInfoCommand()
- Specified by:
getInfoCommand
in classAbstractGitScmProvider
-
getBlameCommand
protected GitCommand getBlameCommand()
- Specified by:
getBlameCommand
in classAbstractGitScmProvider
-
getRemoteInfoCommand
protected GitCommand getRemoteInfoCommand()
- Specified by:
getRemoteInfoCommand
in classAbstractGitScmProvider
-
getRepositoryURL
protected String getRepositoryURL(File path) throws ScmException
- Specified by:
getRepositoryURL
in classAbstractGitScmProvider
- Throws:
ScmException
-
setEnvironmentVariable
public void setEnvironmentVariable(String key, String value)
-
-