public final class MatrixBranchProjectFactory extends TemplateDrivenBranchProjectFactory<hudson.matrix.MatrixProject,hudson.matrix.MatrixBuild>
Modifier and Type | Class and Description |
---|---|
static class |
MatrixBranchProjectFactory.DescriptorImpl
MatrixBranchProjectFactory 's descriptor. |
Constructor and Description |
---|
MatrixBranchProjectFactory()
No-op constructor used for data binding.
|
Modifier and Type | Method and Description |
---|---|
hudson.matrix.MatrixProject |
decorate(hudson.matrix.MatrixProject project)
Decorates projects by using
TemplateDrivenBranchProjectFactory.updateByXml(AbstractProject, Source) and saving the configuration,
rather than only updating the project in memory. |
boolean |
isProject(hudson.model.Item item) |
hudson.matrix.MatrixProject |
newInstance(jenkins.branch.Branch branch) |
getBranch, setBranch
@DataBoundConstructor public MatrixBranchProjectFactory()
public hudson.matrix.MatrixProject newInstance(jenkins.branch.Branch branch)
newInstance
in class jenkins.branch.BranchProjectFactory<hudson.matrix.MatrixProject,hudson.matrix.MatrixBuild>
public boolean isProject(hudson.model.Item item)
isProject
in class jenkins.branch.BranchProjectFactory<hudson.matrix.MatrixProject,hudson.matrix.MatrixBuild>
public hudson.matrix.MatrixProject decorate(hudson.matrix.MatrixProject project)
TemplateDrivenBranchProjectFactory
TemplateDrivenBranchProjectFactory.updateByXml(AbstractProject, Source)
and saving the configuration,
rather than only updating the project in memory.decorate
in class TemplateDrivenBranchProjectFactory<hudson.matrix.MatrixProject,hudson.matrix.MatrixBuild>
project
- the project to decorateCopyright © 2016–2017. All rights reserved.