Class GitLabMarkUnstableAsSuccessTrait
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTrait
io.jenkins.plugins.gitlabbranchsource.GitLabMarkUnstableAsSuccessTrait
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
public class GitLabMarkUnstableAsSuccessTrait
extends jenkins.scm.api.trait.SCMSourceTrait
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
decorateContext
(jenkins.scm.api.trait.SCMSourceContext<?, ?> context) boolean
boolean
void
setMarkUnstableAsSuccess
(boolean markUnstableAsSuccess) Methods inherited from class jenkins.scm.api.trait.SCMSourceTrait
_for, _for, all, applyToBuilder, applyToContext, applyToObserver, decorateBuilder, decorateObserver, getDescriptor, includeCategory, isCategoryEnabled
Methods inherited from class jenkins.scm.api.trait.SCMTrait
asSetList, asSetList, find
-
Constructor Details
-
GitLabMarkUnstableAsSuccessTrait
@DataBoundConstructor public GitLabMarkUnstableAsSuccessTrait()
-
-
Method Details
-
setMarkUnstableAsSuccess
@DataBoundSetter public void setMarkUnstableAsSuccess(boolean markUnstableAsSuccess) -
getMarkUnstableAsSuccess
public boolean getMarkUnstableAsSuccess() -
decorateContext
protected void decorateContext(jenkins.scm.api.trait.SCMSourceContext<?, ?> context) - Overrides:
decorateContext
in classjenkins.scm.api.trait.SCMSourceTrait
-
doMarkUnstableAsSuccess
public boolean doMarkUnstableAsSuccess()
-