public class FeaturePublishCommand extends AbstractGitFlowCommand<FeaturePublishCommand,Void>
flow
is a JGitFlow
instance):
Publish a feature:
flow.featurePublish("feature").call();
gfConfig, git, reporter, requirementHelper
Constructor and Description |
---|
FeaturePublishCommand(String branchName,
org.eclipse.jgit.api.Git git,
GitFlowConfiguration gfConfig)
Create a new feature 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 FeaturePublishCommand(String branchName, org.eclipse.jgit.api.Git git, GitFlowConfiguration gfConfig)
JGitFlow.featurePublish(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<FeaturePublishCommand,Void>
Copyright © 2017 Atlassian. All rights reserved.