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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.codehaus.plexus.util.cli.CommandlinecreateCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag, File messageFile, boolean sign) static org.codehaus.plexus.util.cli.CommandlinecreatePushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag) executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message) executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, ScmTagParameters scmTagParameters) Methods inherited from class org.apache.maven.scm.command.tag.AbstractTagCommand
executeCommandMethods inherited from class org.apache.maven.scm.command.AbstractCommand
execute, getLogger, setLogger
-
Constructor Details
-
GitTagCommand
public GitTagCommand()
-
-
Method Details
-
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
-
createCommandLine
public static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag, File messageFile, boolean sign) -
createPushCommandLine
public static org.codehaus.plexus.util.cli.Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag) throws ScmException - Throws:
ScmException
-