org.apache.maven.scm.provider.git.gitexe.command.tag
Class GitTagCommand
java.lang.Object
org.apache.maven.scm.command.AbstractCommand
org.apache.maven.scm.command.tag.AbstractTagCommand
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
Fields inherited from interface org.apache.maven.scm.command.Command |
ROLE |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GitTagCommand
public GitTagCommand()
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.