public class DefaultBranchPropertyStrategy extends BranchPropertyStrategy
BranchPropertyStrategy that just returns the same set of properties for all SCMHead
instances.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultBranchPropertyStrategy.DescriptorImpl
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
DefaultBranchPropertyStrategy(BranchProperty[] props)
Stapler's constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<BranchProperty> |
getPropertiesFor(jenkins.scm.api.SCMHead head)
|
List<BranchProperty> |
getProps()
Gets the properties.
|
getDescriptor@DataBoundConstructor
public DefaultBranchPropertyStrategy(@CheckForNull
BranchProperty[] props)
props - the properties.@NonNull public List<BranchProperty> getProps()
@NonNull public List<BranchProperty> getPropertiesFor(jenkins.scm.api.SCMHead head)
getPropertiesFor in class BranchPropertyStrategyhead - the SCMHeadCopyright © 2016–2019. All rights reserved.