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
|
| Constructor and Description |
|---|
DefaultBranchPropertyStrategy(List<BranchProperty> properties)
Stapler's constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<BranchProperty> |
getProperties()
Gets the properties.
|
List<BranchProperty> |
getPropertiesFor(jenkins.scm.api.SCMHead head)
Returns the list of properties to be injected into the
Branch for the specified SCMHead. |
getDescriptor@DataBoundConstructor
public DefaultBranchPropertyStrategy(@CheckForNull
List<BranchProperty> properties)
properties - the properties.@NonNull public List<BranchProperty> getProperties()
@NonNull public List<BranchProperty> getPropertiesFor(jenkins.scm.api.SCMHead head)
Branch for the specified SCMHead.getPropertiesFor in class BranchPropertyStrategyhead - the SCMHeadCopyright © 2004-2013. All Rights Reserved.