Package hudson.plugins.git.opt
Class PreBuildMergeOptions
java.lang.Object
hudson.plugins.git.opt.PreBuildMergeOptions
- All Implemented Interfaces:
Serializable
@ExportedBean(defaultVisibility=999)
public class PreBuildMergeOptions
extends Object
implements Serializable
Git SCM can optionally perform a merge with another branch (possibly another repository.)
This object specifies that configuration.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionorg.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode
org.eclipse.jgit.transport.RemoteConfig
Remote repository that contains the ref.Merge strategy.Remote ref to merge. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
doMerge()
org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode
org.eclipse.jgit.transport.RemoteConfig
org.jenkinsci.plugins.gitclient.MergeCommand.Strategy
void
setFastForwardMode
(org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode fastForwardMode) void
setMergeRemote
(org.eclipse.jgit.transport.RemoteConfig mergeRemote) void
setMergeStrategy
(org.jenkinsci.plugins.gitclient.MergeCommand.Strategy mergeStrategy) void
setMergeTarget
(String mergeTarget)
-
Field Details
-
mergeRemote
public org.eclipse.jgit.transport.RemoteConfig mergeRemoteRemote repository that contains the ref. -
mergeTarget
Remote ref to merge. -
mergeStrategy
Merge strategy. -
fastForwardMode
public org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode fastForwardMode
-
-
Constructor Details
-
PreBuildMergeOptions
public PreBuildMergeOptions()
-
-
Method Details
-
getMergeRemote
public org.eclipse.jgit.transport.RemoteConfig getMergeRemote() -
setMergeRemote
public void setMergeRemote(org.eclipse.jgit.transport.RemoteConfig mergeRemote) -
getMergeTarget
-
setMergeTarget
-
getMergeStrategy
@Exported public org.jenkinsci.plugins.gitclient.MergeCommand.Strategy getMergeStrategy() -
setMergeStrategy
public void setMergeStrategy(org.jenkinsci.plugins.gitclient.MergeCommand.Strategy mergeStrategy) -
getFastForwardMode
@Exported public org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode getFastForwardMode() -
setFastForwardMode
public void setFastForwardMode(org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode fastForwardMode) -
getRemoteBranchName
-
doMerge
public boolean doMerge()
-