Class BitbucketPipelineCreateRequest

java.lang.Object
io.jenkins.blueocean.rest.model.BluePipelineCreateRequest
io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest
io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketPipelineCreateRequest

public class BitbucketPipelineCreateRequest extends io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
Author:
Vivek Pandey
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest

    io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest.JenkinsfileCriteria
  • Field Summary

    Fields inherited from class io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest

    scmConfig
  • Constructor Summary

    Constructors
    Constructor
    Description
    BitbucketPipelineCreateRequest(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    computeCredentialId(io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
     
    protected jenkins.scm.api.SCMSource
    createSource(jenkins.branch.MultiBranchProject project, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
     
    protected io.jenkins.blueocean.scm.api.AbstractScmSourceEvent
    getScmSourceEvent(jenkins.branch.MultiBranchProject project, jenkins.scm.api.SCMSource source)
     
    protected boolean
    repoHasJenkinsFile(jenkins.scm.api.SCMSource scmSource)
     
    protected List<io.jenkins.blueocean.commons.ErrorMessage.Error>
    validate(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
     

    Methods inherited from class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest

    create

    Methods inherited from class io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest

    checkUserIsAuthenticatedAndHasItemCreatePermission, createProject, getParent

    Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineCreateRequest

    getName, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BitbucketPipelineCreateRequest

      @DataBoundConstructor public BitbucketPipelineCreateRequest(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
  • Method Details

    • createSource

      protected jenkins.scm.api.SCMSource createSource(@NonNull jenkins.branch.MultiBranchProject project, @NonNull io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
      Specified by:
      createSource in class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
    • getScmSourceEvent

      @Nullable protected io.jenkins.blueocean.scm.api.AbstractScmSourceEvent getScmSourceEvent(@NonNull jenkins.branch.MultiBranchProject project, @NonNull jenkins.scm.api.SCMSource source)
      Overrides:
      getScmSourceEvent in class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
    • repoHasJenkinsFile

      protected boolean repoHasJenkinsFile(@NonNull jenkins.scm.api.SCMSource scmSource)
      Overrides:
      repoHasJenkinsFile in class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
    • validate

      protected List<io.jenkins.blueocean.commons.ErrorMessage.Error> validate(String name, io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
      Specified by:
      validate in class io.jenkins.blueocean.scm.api.AbstractMultiBranchCreateRequest
    • computeCredentialId

      protected String computeCredentialId(io.jenkins.blueocean.rest.model.BlueScmConfig scmConfig)
      Specified by:
      computeCredentialId in class io.jenkins.blueocean.scm.api.AbstractPipelineCreateRequest