org.apache.maven.scm.provider.git.gitexe.command.tag
Class GitTagCommand

java.lang.Object
  extended by org.apache.maven.scm.command.AbstractCommand
      extended by org.apache.maven.scm.command.tag.AbstractTagCommand
          extended by org.apache.maven.scm.provider.git.gitexe.command.tag.GitTagCommand
All Implemented Interfaces:
Command, GitCommand

public class GitTagCommand
extends AbstractTagCommand
implements GitCommand

Version:
$Id: GitTagCommand.java 1070251 2011-02-13 15:35:40Z struberg $
Author:
Mark Struberg

Field Summary
 
Fields inherited from interface org.apache.maven.scm.command.Command
ROLE
 
Constructor Summary
GitTagCommand()
           
 
Method Summary
static Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag, File messageFile)
           
static Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag)
           
 ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, ScmTagParameters scmTagParameters)
          
 ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message)
           
 
Methods inherited from class org.apache.maven.scm.command.tag.AbstractTagCommand
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

GitTagCommand

public GitTagCommand()
Method Detail

executeTagCommand

public ScmResult executeTagCommand(ScmProviderRepository repo,
                                   ScmFileSet fileSet,
                                   String tag,
                                   String message)
                            throws ScmException
Overrides:
executeTagCommand in class AbstractTagCommand
Returns:
Throws:
ScmException

executeTagCommand

public ScmResult executeTagCommand(ScmProviderRepository repo,
                                   ScmFileSet fileSet,
                                   String tag,
                                   ScmTagParameters scmTagParameters)
                            throws ScmException

Specified by:
executeTagCommand in class AbstractTagCommand
Throws:
ScmException

createCommandLine

public static Commandline createCommandLine(GitScmProviderRepository repository,
                                            File workingDirectory,
                                            String tag,
                                            File messageFile)

createPushCommandLine

public static Commandline createPushCommandLine(GitScmProviderRepository repository,
                                                ScmFileSet fileSet,
                                                String tag)
                                         throws ScmException
Throws:
ScmException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.