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 classNested classes/interfaces inherited from class jenkins.branch.MultiBranchProjectFactory
jenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteriaNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcustomize(WorkflowMultiBranchProject project) protected final WorkflowMultiBranchProjectfinal voidupdateExistingProject(jenkins.branch.MultiBranchProject<?, ?> project, Map<String, Object> attributes, TaskListener listener) Methods inherited from class jenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria
createNewProject, getSCMSourceCriteria, recognizes, recognizesMethods 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:
doCreateProjectin classjenkins.branch.MultiBranchProjectFactory.BySCMSourceCriteria- Throws:
IOExceptionInterruptedException
-
updateExistingProject
public final void updateExistingProject(@NonNull jenkins.branch.MultiBranchProject<?, ?> project, @NonNull Map<String, throws IOException, InterruptedExceptionObject> attributes, @NonNull TaskListener listener) - Overrides:
updateExistingProjectin classjenkins.branch.MultiBranchProjectFactory- Throws:
IOExceptionInterruptedException
-
customize
protected void customize(WorkflowMultiBranchProject project) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-