Package io.jenkins.blueocean.scm.api
Class AbstractPipelineCreateRequest
java.lang.Object
io.jenkins.blueocean.rest.model.BluePipelineCreateRequest
io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest
- Direct Known Subclasses:
AbstractMultiBranchCreateRequest
public abstract class AbstractPipelineCreateRequest
extends io.jenkins.blueocean.rest.model.BluePipelineCreateRequest
- Author:
- Vivek Pandey
-
Field Summary
Modifier and TypeFieldDescriptionprotected final io.jenkins.blueocean.rest.model.BlueScmConfig
-
Constructor Summary
ConstructorDescriptionAbstractPipelineCreateRequest
(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected User
checkUserIsAuthenticatedAndHasItemCreatePermission
(io.jenkins.blueocean.rest.model.BlueOrganization organization) protected abstract String
computeCredentialId
(io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) protected TopLevelItem
createProject
(String name, String descriptorName, Class<? extends TopLevelItemDescriptor> descriptorClass, io.jenkins.blueocean.rest.model.BlueOrganization organization) protected ModifiableTopLevelItemGroup
getParent
(io.jenkins.blueocean.rest.model.BlueOrganization organization) Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineCreateRequest
create, getName, setName
-
Field Details
-
scmConfig
protected final io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig
-
-
Constructor Details
-
AbstractPipelineCreateRequest
public AbstractPipelineCreateRequest(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
-
-
Method Details
-
createProject
@NonNull protected TopLevelItem createProject(String name, String descriptorName, Class<? extends TopLevelItemDescriptor> descriptorClass, io.jenkins.blueocean.rest.model.BlueOrganization organization) throws IOException - Throws:
IOException
-
checkUserIsAuthenticatedAndHasItemCreatePermission
protected User checkUserIsAuthenticatedAndHasItemCreatePermission(io.jenkins.blueocean.rest.model.BlueOrganization organization) -
computeCredentialId
protected abstract String computeCredentialId(io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig) -
getParent
protected ModifiableTopLevelItemGroup getParent(io.jenkins.blueocean.rest.model.BlueOrganization organization)
-