public class GitTagCommand extends AbstractTagCommand implements GitCommand
Constructor and Description |
---|
GitTagCommand() |
Modifier and Type | Method and Description |
---|---|
static Commandline |
createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
String tag,
File messageFile) |
static Commandline |
createPushCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet,
String tag) |
ScmResult |
executeTagCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
String tag,
ScmTagParameters scmTagParameters) |
ScmResult |
executeTagCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
String tag,
String message) |
executeCommand
execute, getLogger, setLogger
public GitTagCommand()
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, String message) throws ScmException
executeTagCommand
in class AbstractTagCommand
ScmException
public ScmResult executeTagCommand(ScmProviderRepository repo, ScmFileSet fileSet, String tag, ScmTagParameters scmTagParameters) throws ScmException
executeTagCommand
in class AbstractTagCommand
ScmException
public static Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, String tag, File messageFile)
public static Commandline createPushCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet, String tag) throws ScmException
ScmException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.