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
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description GitTagCommand(Map<String,String> environmentVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.codehaus.plexus.util.cli.CommandlinecreatePushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag)ScmResultexecuteTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message)ScmResultexecuteTagCommand(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
-
-
-
-
Constructor Detail
-
GitTagCommand
public GitTagCommand(Map<String,String> environmentVariables)
-
-
Method Detail
-
executeTagCommand
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message) throws ScmException
- Overrides:
executeTagCommandin classAbstractTagCommand- Parameters:
repo- TODOfileSet- TODOtag- TODOmessage- TODO- Returns:
- TODO
- Throws:
ScmException- if any
-
executeTagCommand
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, ScmTagParameters scmTagParameters) throws ScmException
- Specified by:
executeTagCommandin classAbstractTagCommand- Throws:
ScmException
-
createPushCommandLine
public org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag)
-
-