public abstract class TemplateDrivenBranchProjectFactory<P extends hudson.model.AbstractProject<P,B> & hudson.model.TopLevelItem,B extends hudson.model.AbstractBuild<P,B>>
extends jenkins.branch.BranchProjectFactory<P,B>
Constructor and Description |
---|
TemplateDrivenBranchProjectFactory() |
Modifier and Type | Method and Description |
---|---|
P |
decorate(P project)
Decorates projects by using
updateByXml(AbstractProject, Source) and saving the configuration,
rather than only updating the project in memory. |
jenkins.branch.Branch |
getBranch(P project) |
P |
setBranch(P project,
jenkins.branch.Branch branch) |
public P decorate(P project)
updateByXml(AbstractProject, Source)
and saving the configuration,
rather than only updating the project in memory.Copyright © 2016–2017. All rights reserved.