Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitCommandUtils.getBaseCommand(String commandName,
GitScmProviderRepository repo,
ScmFileSet fileSet) |
static org.codehaus.plexus.util.cli.Commandline |
GitCommandUtils.getBaseCommand(String commandName,
GitScmProviderRepository repo,
ScmFileSet fileSet,
String options) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitBranchCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
String branch) |
static org.codehaus.plexus.util.cli.Commandline |
GitBranchCommand.createPushCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
String branch) |
static String |
GitBranchCommand.getCurrentBranch(ScmLogger logger,
GitScmProviderRepository repository,
ScmFileSet fileSet)
Helper function to detect the current branch
|
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitChangeLogCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
ScmBranch branch,
Date startDate,
Date endDate,
ScmVersion startVersion,
ScmVersion endVersion)
This method creates the commandline for the git-whatchanged command.
|
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitCheckInCommand.createCommitCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
File messageFile) |
static org.codehaus.plexus.util.cli.Commandline |
GitCheckInCommand.createPushCommandLine(ScmLogger logger,
GitScmProviderRepository repository,
ScmFileSet fileSet,
ScmVersion version) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitCheckOutCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
ScmVersion version) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitListCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitRemoteInfoCommand.createCommandLine(GitScmProviderRepository repository) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitStatusCommand.createCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitTagCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
String tag,
File messageFile,
boolean sign) |
static org.codehaus.plexus.util.cli.Commandline |
GitTagCommand.createPushCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
String tag) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitUntagCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
String tag) |
static org.codehaus.plexus.util.cli.Commandline |
GitUntagCommand.createPushCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
String tag) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.cli.Commandline |
GitUpdateCommand.createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
ScmVersion scmVersion)
create the command line for updating the current branch with the info from the foreign repository.
|
static org.codehaus.plexus.util.cli.Commandline |
GitUpdateCommand.createLatestRevisionCommandLine(GitScmProviderRepository repository,
File workingDirectory,
ScmVersion scmVersion) |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jgit.transport.CredentialsProvider |
JGitUtils.getCredentials(GitScmProviderRepository repository)
Creates a credentials provider from the information passed in the
repository.
|
static org.eclipse.jgit.transport.CredentialsProvider |
JGitUtils.prepareSession(ScmLogger logger,
org.eclipse.jgit.api.Git git,
GitScmProviderRepository repository)
Prepares the in memory configuration of git to connect to the configured
repository.
|
static Iterable<org.eclipse.jgit.transport.PushResult> |
JGitUtils.push(ScmLogger logger,
org.eclipse.jgit.api.Git git,
GitScmProviderRepository repo,
org.eclipse.jgit.transport.RefSpec refSpec) |
Constructor and Description |
---|
JGitTransportConfigCallback(GitScmProviderRepository repo,
ScmLogger logger) |
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.