|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.branch.AbstractBranchCommand
org.apache.maven.scm.provider.git.gitexe.command.branch.GitBranchCommand
public class GitBranchCommand
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.scm.command.Command |
|---|
ROLE |
| Constructor Summary | |
|---|---|
GitBranchCommand()
|
|
| Method Summary | |
|---|---|
static org.codehaus.plexus.util.cli.Commandline |
createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
String branch)
|
static org.codehaus.plexus.util.cli.Commandline |
createPushCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
String branch)
|
ScmResult |
executeBranchCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
String branch,
String message)
|
static String |
getCurrentBranch(ScmLogger logger,
GitScmProviderRepository repository,
ScmFileSet fileSet)
Helper function to detect the current branch |
| Methods inherited from class org.apache.maven.scm.command.branch.AbstractBranchCommand |
|---|
executeBranchCommand, executeCommand |
| Methods inherited from class org.apache.maven.scm.command.AbstractCommand |
|---|
execute, getLogger, setLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.scm.command.Command |
|---|
execute, getLogger, setLogger |
| Constructor Detail |
|---|
public GitBranchCommand()
| Method Detail |
|---|
public ScmResult executeBranchCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
String branch,
String message)
throws ScmException
executeBranchCommand in class AbstractBranchCommandScmException
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
String branch)
public static org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
String branch)
throws ScmException
ScmException
public static String getCurrentBranch(ScmLogger logger,
GitScmProviderRepository repository,
ScmFileSet fileSet)
throws ScmException
ScmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||