public class HotfixPublishCommand extends AbstractGitFlowCommand<HotfixPublishCommand,Void>
flow
is a JGitFlow
instance):
Publish a hotfix:
flow.hotfixPublish("hotfix").call();
gfConfig, git, reporter, requirementHelper
Constructor and Description |
---|
HotfixPublishCommand(String branchName,
org.eclipse.jgit.api.Git git,
GitFlowConfiguration gfConfig)
Create a new hotfix publish command instance.
|
Modifier and Type | Method and Description |
---|---|
Void |
call() |
protected String |
getCommandName() |
doFetchIfNeeded, doPushIfNeeded, enforcer, ensureLocalBranchesNotBehindRemotes, getBranchName, getScmMessagePrefix, getScmMessageSuffix, isAllowUntracked, isFetch, isPush, runBeforeAndGetPrefixedBranchName, runExtensionCommands, setAllowUntracked, setFetch, setPush, setScmMessagePrefix, setScmMessageSuffix
public HotfixPublishCommand(String branchName, org.eclipse.jgit.api.Git git, GitFlowConfiguration gfConfig)
JGitFlow.hotfixPublish(String)
git
- The git instance to usegfConfig
- The GitFlowConfiguration to usepublic Void call() throws NotInitializedException, JGitFlowGitAPIException, DirtyWorkingTreeException, JGitFlowIOException, LocalBranchMissingException, RemoteBranchExistsException, JGitFlowExtensionException
protected String getCommandName()
getCommandName
in class AbstractGitFlowCommand<HotfixPublishCommand,Void>
Copyright © 2017 Atlassian. All rights reserved.