Package jenkins.branch
Class MultiBranchProjectDisplayNamingTrait
java.lang.Object
hudson.model.AbstractDescribableImpl<T>
jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTrait
jenkins.branch.MultiBranchProjectDisplayNamingTrait
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
public class MultiBranchProjectDisplayNamingTrait
extends jenkins.scm.api.trait.SCMSourceTrait
A
SCMSourceTrait
that controls how to set display names for SCMHead
s
with additional information like merge/change/pull requests.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Our descriptor.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionMultiBranchProjectDisplayNamingTrait
(MultiBranchProjectDisplayNamingStrategy displayNamingStrategy) Constructor for both stapler and programmatic instantiation. -
Method Summary
Methods inherited from class jenkins.scm.api.trait.SCMSourceTrait
_for, _for, all, applyToBuilder, applyToContext, applyToObserver, decorateBuilder, decorateContext, decorateObserver, getDescriptor, includeCategory, isCategoryEnabled
Methods inherited from class jenkins.scm.api.trait.SCMTrait
asSetList, asSetList, find
-
Constructor Details
-
MultiBranchProjectDisplayNamingTrait
@DataBoundConstructor public MultiBranchProjectDisplayNamingTrait(@NonNull MultiBranchProjectDisplayNamingStrategy displayNamingStrategy) Constructor for both stapler and programmatic instantiation.- Parameters:
displayNamingStrategy
- theMultiBranchProjectDisplayNamingStrategy
.
-
-
Method Details
-
getDisplayNamingStrategy
Gets theMultiBranchProjectDisplayNamingStrategy
.- Returns:
- the
MultiBranchProjectDisplayNamingStrategy
.
-