Class AcceptGitLabMergeRequestStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
com.dabsquared.gitlabjenkins.workflow.AcceptGitLabMergeRequestStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
@ExportedBean
public class AcceptGitLabMergeRequestStep
extends org.jenkinsci.plugins.workflow.steps.Step
- Author:
- Robin Müller
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static final class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionAcceptGitLabMergeRequestStep
(String mergeCommitMessage, boolean useMRDescription, boolean removeSourceBranch) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setMergeCommitMessage
(String mergeCommitMessage) void
setRemoveSourceBranch
(boolean removeSourceBranch) void
setUseMRDescription
(boolean useMRDescription) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
AcceptGitLabMergeRequestStep
@Deprecated public AcceptGitLabMergeRequestStep(String mergeCommitMessage, boolean useMRDescription, boolean removeSourceBranch) Deprecated. -
AcceptGitLabMergeRequestStep
@DataBoundConstructor public AcceptGitLabMergeRequestStep()
-
-
Method Details
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
- Throws:
Exception
-
getMergeCommitMessage
-
getRemoveSourceBranch
-
getUseMRDescription
public boolean getUseMRDescription() -
setMergeCommitMessage
-
setUseMRDescription
@DataBoundSetter public void setUseMRDescription(boolean useMRDescription) -
setRemoveSourceBranch
@DataBoundSetter public void setRemoveSourceBranch(boolean removeSourceBranch)
-