public class BranchSource extends hudson.model.AbstractDescribableImpl<BranchSource>
Modifier and Type | Class and Description |
---|---|
static class |
BranchSource.DescriptorImpl
Our
Descriptor . |
Constructor and Description |
---|
BranchSource(jenkins.scm.api.SCMSource source) |
BranchSource(jenkins.scm.api.SCMSource source,
BranchPropertyStrategy strategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<BranchBuildStrategy> |
getBuildStrategies()
Gets the rules for automatic building of branches to apply on this source.
|
jenkins.scm.api.SCMSource |
getSource()
Gets the source.
|
BranchPropertyStrategy |
getStrategy()
Gets the strategy.
|
void |
setBuildStrategies(List<BranchBuildStrategy> buildStrategies)
Gets the rules for automatic building of branches to apply on this source.
|
void |
setStrategy(BranchPropertyStrategy strategy) |
@DataBoundConstructor public BranchSource(jenkins.scm.api.SCMSource source)
@Deprecated public BranchSource(jenkins.scm.api.SCMSource source, BranchPropertyStrategy strategy)
@NonNull public jenkins.scm.api.SCMSource getSource()
public BranchPropertyStrategy getStrategy()
@DataBoundSetter public void setStrategy(BranchPropertyStrategy strategy)
@NonNull public List<BranchBuildStrategy> getBuildStrategies()
@DataBoundSetter public void setBuildStrategies(@CheckForNull List<BranchBuildStrategy> buildStrategies)
buildStrategies
- the rules for automatic building of branches to apply on this source.Copyright © 2016–2017. All rights reserved.