org.apache.maven.scm.provider.git.gitexe.command.branch
Class GitBranchCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.branch.AbstractBranchCommand
          extended by org.apache.maven.scm.provider.git.gitexe.command.branch.GitBranchCommand
All Implemented Interfaces:
Command, GitCommand

public class GitBranchCommand
extends AbstractBranchCommand
implements GitCommand

Version:
$Id: GitBranchCommand.java 690997 2008-09-01 15:29:28Z vsiveton $
Author:
Mark Struberg

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, java.io.File workingDirectory, java.lang.String branch)
           
static org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, java.lang.String branch)
           
 ScmResult executeBranchCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String branch, java.lang.String message)
          
 
Methods inherited from class org.apache.maven.scm.command.branch.AbstractBranchCommand
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

GitBranchCommand

public GitBranchCommand()
Method Detail

executeBranchCommand

public ScmResult executeBranchCommand(ScmProviderRepository repo,
                                      ScmFileSet fileSet,
                                      java.lang.String branch,
                                      java.lang.String message)
                               throws ScmException

Specified by:
executeBranchCommand in class AbstractBranchCommand
Throws:
ScmException

createCommandLine

public static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository,
                                                                         java.io.File workingDirectory,
                                                                         java.lang.String branch)

createPushCommandLine

public static org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository,
                                                                             ScmFileSet fileSet,
                                                                             java.lang.String branch)
                                                                      throws ScmException
Throws:
ScmException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.