@Singleton @Named(value="jgit") public class JGitScmProvider extends AbstractGitScmProvider
logger
Constructor and Description |
---|
JGitScmProvider(org.codehaus.plexus.components.interactivity.Prompter prompter) |
Modifier and Type | Method and 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 |
getListCommand() |
protected GitCommand |
getRemoteInfoCommand() |
protected GitCommand |
getRemoveCommand() |
protected String |
getRepositoryURL(File path) |
protected GitCommand |
getStatusCommand() |
protected GitCommand |
getTagCommand() |
protected GitCommand |
getUntagCommand() |
protected GitCommand |
getUpdateCommand() |
void |
setInteractive(boolean interactive)
Sets the interactive mode.
|
add, blame, branch, changelog, checkin, checkout, diff, executeCommand, export, getScmSpecificFilename, getScmType, info, makeProviderScmRepository, makeProviderScmRepository, remoteInfo, remove, status, tag, untag, update, validateScmUrl
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
@Inject public JGitScmProvider(org.codehaus.plexus.components.interactivity.Prompter prompter)
public void setInteractive(boolean interactive)
ScmProvider
interactive
- either true
in case user may be prompted for information, otherwise false
protected GitCommand getAddCommand()
getAddCommand
in class AbstractGitScmProvider
protected GitCommand getBranchCommand()
getBranchCommand
in class AbstractGitScmProvider
protected GitCommand getChangeLogCommand()
getChangeLogCommand
in class AbstractGitScmProvider
protected GitCommand getCheckInCommand()
getCheckInCommand
in class AbstractGitScmProvider
protected GitCommand getCheckOutCommand()
getCheckOutCommand
in class AbstractGitScmProvider
protected GitCommand getDiffCommand()
getDiffCommand
in class AbstractGitScmProvider
protected GitCommand getExportCommand()
getExportCommand
in class AbstractGitScmProvider
protected GitCommand getRemoveCommand()
getRemoveCommand
in class AbstractGitScmProvider
protected GitCommand getStatusCommand()
getStatusCommand
in class AbstractGitScmProvider
protected GitCommand getTagCommand()
getTagCommand
in class AbstractGitScmProvider
protected GitCommand getUntagCommand()
getUntagCommand
in class AbstractGitScmProvider
protected GitCommand getUpdateCommand()
getUpdateCommand
in class AbstractGitScmProvider
protected GitCommand getListCommand()
public GitCommand getInfoCommand()
getInfoCommand
in class AbstractGitScmProvider
protected String getRepositoryURL(File path) throws ScmException
getRepositoryURL
in class AbstractGitScmProvider
ScmException
protected GitCommand getBlameCommand()
getBlameCommand
in class AbstractGitScmProvider
protected GitCommand getRemoteInfoCommand()
getRemoteInfoCommand
in class AbstractGitScmProvider
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.