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 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)