Class GitUntagCommand
- java.lang.Object
-
- org.apache.maven.scm.command.AbstractCommand
-
- org.apache.maven.scm.command.untag.AbstractUntagCommand
-
- org.apache.maven.scm.provider.git.gitexe.command.untag.GitUntagCommand
-
- All Implemented Interfaces:
Command,GitCommand
public class GitUntagCommand extends AbstractUntagCommand implements GitCommand
Removes a tag.
-
-
Field Summary
-
Fields inherited from class org.apache.maven.scm.command.AbstractCommand
logger
-
-
Constructor Summary
Constructors Constructor Description GitUntagCommand(Map<String,String> environmentVariables)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag)org.codehaus.plexus.util.cli.CommandlinecreatePushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag)ScmResultexecuteUntagCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmUntagParameters scmUntagParameters)Execute untag command.-
Methods inherited from class org.apache.maven.scm.command.untag.AbstractUntagCommand
executeCommand
-
Methods inherited from class org.apache.maven.scm.command.AbstractCommand
execute
-
-
-
-
Constructor Detail
-
GitUntagCommand
public GitUntagCommand(Map<String,String> environmentVariables)
-
-
Method Detail
-
executeUntagCommand
public ScmResult executeUntagCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmUntagParameters scmUntagParameters) throws ScmException
Execute untag command.- Specified by:
executeUntagCommandin classAbstractUntagCommand- Parameters:
repo- scm repofileSet- set of files (unused)scmUntagParameters- parameters used by untag implementations- Returns:
- result of untag command
- Throws:
ScmException- in case of error
-
createCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag)
-
createPushCommandLine
public org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag)
-
-