Package jenkins.branch
Class BranchPropertyStrategy
- All Implemented Interfaces:
ExtensionPoint
,Describable<BranchPropertyStrategy>
- Direct Known Subclasses:
DefaultBranchPropertyStrategy
,NamedExceptionsBranchPropertyStrategy
public abstract class BranchPropertyStrategy
extends AbstractDescribableImpl<BranchPropertyStrategy>
implements ExtensionPoint
A strategy for determining the properties that apply to a specific
SCMHead
.- Author:
- Stephen Connolly
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract List<BranchProperty>
getPropertiesFor
(jenkins.scm.api.SCMHead head) Returns the list of properties to be injected into theBranch
for the specifiedSCMHead
.
-
Constructor Details
-
BranchPropertyStrategy
public BranchPropertyStrategy()
-
-
Method Details
-
getPropertiesFor
Returns the list of properties to be injected into theBranch
for the specifiedSCMHead
.- Parameters:
head
- theSCMHead
- Returns:
- the list of properties.
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<BranchPropertyStrategy>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<BranchPropertyStrategy>
-