public class BranchProjectProperty<P extends hudson.model.AbstractProject<P,B> & hudson.model.TopLevelItem,B extends hudson.model.AbstractBuild<P,B>>
extends hudson.model.JobProperty<P>
JobProperty
that holds a Branch
so that TemplateDrivenMultiBranchProject
s can
manage the project holding this property.Modifier and Type | Class and Description |
---|---|
static class |
BranchProjectProperty.DescriptorImpl
BranchProjectProperty 's descriptor. |
Constructor and Description |
---|
BranchProjectProperty(jenkins.branch.Branch branch)
Creates a new property with the Branch it will hold.
|
Modifier and Type | Method and Description |
---|---|
jenkins.branch.Branch |
getBranch()
Gets the Branch held by the property.
|
void |
setBranch(jenkins.branch.Branch branch)
Sets the Branch held by the property.
|
public BranchProjectProperty(@Nonnull jenkins.branch.Branch branch)
branch
- the branchCopyright © 2016–2017. All rights reserved.