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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.String>environmentVariables-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description GitTagCommand(java.util.Map<java.lang.String,java.lang.String> environmentVariables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, java.io.File workingDirectory, java.lang.String tag, java.io.File messageFile, CommandParameters.SignOption signOption)org.codehaus.plexus.util.cli.CommandlinecreatePushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, java.lang.String tag)ScmResultexecuteTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String tag, java.lang.String message)ScmResultexecuteTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.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
-
-
-
-
Method Detail
-
executeTagCommand
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, java.lang.String tag, java.lang.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, java.lang.String tag, ScmTagParameters scmTagParameters) throws ScmException
- Specified by:
executeTagCommandin classAbstractTagCommand- Throws:
ScmException
-
createCommandLine
static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, java.io.File workingDirectory, java.lang.String tag, java.io.File messageFile, CommandParameters.SignOption signOption)
-
createPushCommandLine
public org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, java.lang.String tag)
-
-