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
- Author:
- Mark Struberg
-
-
Constructor Summary
Constructors Constructor Description GitTagCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.Commandline
createCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag, File messageFile)
static org.codehaus.plexus.util.cli.Commandline
createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag)
ScmResult
executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message)
ScmResult
executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, ScmTagParameters scmTagParameters)
-
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
-
-
-
-
Method Detail
-
executeTagCommand
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message) throws ScmException
- Overrides:
executeTagCommand
in classAbstractTagCommand
- Returns:
- Throws:
ScmException
-
executeTagCommand
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, ScmTagParameters scmTagParameters) throws ScmException
- Specified by:
executeTagCommand
in classAbstractTagCommand
- Throws:
ScmException
-
createCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag, File messageFile)
-
createPushCommandLine
public static org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag) throws ScmException
- Throws:
ScmException
-
-