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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringThe environment variable that controls whether Git prompts for credentials in the terminal.Fields inherited from class AbstractScmProvider
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandprotected StringgetRepositoryURL(File path) protected GitCommandprotected GitCommandprotected GitCommandprotected GitCommandvoidsetEnvironmentVariable(String key, String value) voidsetInteractive(boolean interactive) Sets the interactive mode, which by default (i.e.Methods inherited from class AbstractGitScmProvider
add, blame, branch, changelog, checkin, checkIn, checkout, diff, executeCommand, export, getScmSpecificFilename, getScmType, info, makeProviderScmRepository, makeProviderScmRepository, remoteInfo, 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, 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
-
Field Details
-
environmentVariables
-
GIT_TERMINAL_PROMPT
The environment variable that controls whether Git prompts for credentials in the terminal.- See Also:
-
-
Constructor Details
-
GitExeScmProvider
public GitExeScmProvider()
-
-
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 classAbstractGitScmProvider
-
getBranchCommand
- Specified by:
getBranchCommandin classAbstractGitScmProvider
-
getChangeLogCommand
- Specified by:
getChangeLogCommandin classAbstractGitScmProvider
-
getCheckInCommand
- Specified by:
getCheckInCommandin classAbstractGitScmProvider
-
getCheckOutCommand
- Specified by:
getCheckOutCommandin classAbstractGitScmProvider
-
getDiffCommand
- Specified by:
getDiffCommandin classAbstractGitScmProvider
-
getExportCommand
- Specified by:
getExportCommandin classAbstractGitScmProvider
-
getRemoveCommand
- Specified by:
getRemoveCommandin classAbstractGitScmProvider
-
getStatusCommand
- Specified by:
getStatusCommandin classAbstractGitScmProvider
-
getTagCommand
- Specified by:
getTagCommandin classAbstractGitScmProvider
-
getUntagCommand
- Specified by:
getUntagCommandin classAbstractGitScmProvider
-
getUpdateCommand
- Specified by:
getUpdateCommandin classAbstractGitScmProvider
-
getInfoCommand
- Specified by:
getInfoCommandin classAbstractGitScmProvider
-
getBlameCommand
- Specified by:
getBlameCommandin classAbstractGitScmProvider
-
getRemoteInfoCommand
- Specified by:
getRemoteInfoCommandin classAbstractGitScmProvider
-
getRepositoryURL
- Specified by:
getRepositoryURLin classAbstractGitScmProvider- Throws:
ScmException
-
setEnvironmentVariable
-