Class BuildStatusNameCustomPartTrait
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.BuildStatusNameCustomPartTrait
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
public class BuildStatusNameCustomPartTrait
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) Getter method for the build status context prefixboolean
Getter method for the build status name overwriteboolean
Getter method for the build status name overwritevoid
setBuildStatusNameCustomPart
(String buildStatusNameCustomPart) Setter for stapler to set the buildStatusNameCustomPart of the build statusvoid
setBuildStatusNameOverwrite
(Boolean buildStatusNameOverwrite) void
setIgnoreTypeInStatusName
(Boolean ignoreTypeInStatusName) 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
-
BuildStatusNameCustomPartTrait
@DataBoundConstructor public BuildStatusNameCustomPartTrait()Constructor for stapler.
-
-
Method Details
-
setBuildStatusNameCustomPart
@DataBoundSetter public void setBuildStatusNameCustomPart(@NonNull String buildStatusNameCustomPart) Setter for stapler to set the buildStatusNameCustomPart of the build status -
setBuildStatusNameOverwrite
-
setIgnoreTypeInStatusName
-
decorateContext
protected void decorateContext(jenkins.scm.api.trait.SCMSourceContext<?, ?> context) - Overrides:
decorateContext
in classjenkins.scm.api.trait.SCMSourceTrait
-
getBuildStatusNameCustomPart
Getter method for the build status context prefix- Returns:
- build status context prefix
-
getBuildStatusNameOverwrite
public boolean getBuildStatusNameOverwrite()Getter method for the build status name overwrite- Returns:
- build status name overwrite option
-
getIgnoreTypeInStatusName
public boolean getIgnoreTypeInStatusName()Getter method for the build status name overwrite- Returns:
- build status name overwrite option
-