Class AbstractWorkflowMultiBranchProjectFactory
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.MultiBranchProjectFactory>
jenkins.branch.MultiBranchProjectFactory
jenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria
org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowMultiBranchProjectFactory
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.branch.MultiBranchProjectFactory>
- Direct Known Subclasses:
WorkflowMultiBranchProjectFactory
public abstract class AbstractWorkflowMultiBranchProjectFactory
extends jenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria
Defines organization folders by some
AbstractWorkflowBranchProjectFactory
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class jenkins.branch.MultiBranchProjectFactory
jenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
customize
(WorkflowMultiBranchProject project) protected final WorkflowMultiBranchProject
final void
updateExistingProject
(jenkins.branch.MultiBranchProject<?, ?> project, Map<String, Object> attributes, TaskListener listener) Methods inherited from class jenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria
createNewProject, getSCMSourceCriteria, recognizes, recognizes
Methods inherited from class jenkins.branch.MultiBranchProjectFactory
createProject, getDescriptor
-
Constructor Details
-
AbstractWorkflowMultiBranchProjectFactory
public AbstractWorkflowMultiBranchProjectFactory()
-
-
Method Details
-
doCreateProject
@NonNull protected final WorkflowMultiBranchProject doCreateProject(@NonNull ItemGroup<?> parent, @NonNull String name, @NonNull Map<String, Object> attributes) throws IOException, InterruptedException- Specified by:
doCreateProject
in classjenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria
- Throws:
IOException
InterruptedException
-
updateExistingProject
public final void updateExistingProject(@NonNull jenkins.branch.MultiBranchProject<?, ?> project, @NonNull Map<String, throws IOException, InterruptedExceptionObject> attributes, @NonNull TaskListener listener) - Overrides:
updateExistingProject
in classjenkins.branch.MultiBranchProjectFactory
- Throws:
IOException
InterruptedException
-
customize
protected void customize(WorkflowMultiBranchProject project) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-