Class MultiBranchPipelineImpl

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BluePipeline
io.jenkins.blueocean.rest.model.BluePipelineFolder
io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
io.jenkins.blueocean.rest.impl.pipeline.MultiBranchPipelineImpl
All Implemented Interfaces:
io.jenkins.blueocean.rest.model.BlueContainerItem, io.jenkins.blueocean.rest.model.BlueManagedSource, io.jenkins.blueocean.rest.model.BlueMultiBranchItem, io.jenkins.blueocean.rest.model.BluePipelineItem, io.jenkins.blueocean.rest.model.BlueRunnableItem, io.jenkins.blueocean.rest.Reachable

public class MultiBranchPipelineImpl extends io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
Author:
Vivek Pandey
  • Constructor Details

    • MultiBranchPipelineImpl

      public MultiBranchPipelineImpl(io.jenkins.blueocean.rest.model.BlueOrganization organization, jenkins.branch.MultiBranchProject mbp)
  • Method Details

    • getScriptPath

      @Exported(name="scriptPath") public String getScriptPath()
    • getOrganization

      @NonNull public io.jenkins.blueocean.rest.model.BlueOrganization getOrganization()
      Specified by:
      getOrganization in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getOrganization in class io.jenkins.blueocean.rest.model.BluePipeline
    • getOrganizationName

      public String getOrganizationName()
      Specified by:
      getOrganizationName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getOrganizationName in class io.jenkins.blueocean.rest.model.BluePipeline
    • favorite

      public io.jenkins.blueocean.rest.model.BlueFavorite favorite(@JsonBody io.jenkins.blueocean.rest.model.BlueFavoriteAction favoriteAction)
      Specified by:
      favorite in class io.jenkins.blueocean.rest.model.BluePipeline
    • getPermissions

      public Map<String,Boolean> getPermissions()
      Specified by:
      getPermissions in class io.jenkins.blueocean.rest.model.BluePipeline
    • getScm

      @Navigable public io.jenkins.blueocean.rest.model.BluePipelineScm getScm()
      Specified by:
      getScm in interface io.jenkins.blueocean.rest.model.BlueManagedSource
      Specified by:
      getScm in class io.jenkins.blueocean.rest.model.BluePipeline
    • getName

      public String getName()
      Specified by:
      getName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getName in class io.jenkins.blueocean.rest.model.BluePipeline
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getDisplayName in class io.jenkins.blueocean.rest.model.BluePipeline
    • getFullName

      public String getFullName()
      Specified by:
      getFullName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getFullName in class io.jenkins.blueocean.rest.model.BluePipeline
    • getFullDisplayName

      public String getFullDisplayName()
      Specified by:
      getFullDisplayName in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getFullDisplayName in class io.jenkins.blueocean.rest.model.BluePipeline
    • getTotalNumberOfBranches

      public int getTotalNumberOfBranches()
      Specified by:
      getTotalNumberOfBranches in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getTotalNumberOfBranches in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getNumberOfFailingBranches

      public int getNumberOfFailingBranches()
      Specified by:
      getNumberOfFailingBranches in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getNumberOfFailingBranches in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getNumberOfSuccessfulBranches

      public int getNumberOfSuccessfulBranches()
      Specified by:
      getNumberOfSuccessfulBranches in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getNumberOfSuccessfulBranches in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getTotalNumberOfPullRequests

      public int getTotalNumberOfPullRequests()
      Specified by:
      getTotalNumberOfPullRequests in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getTotalNumberOfPullRequests in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getNumberOfFailingPullRequests

      public int getNumberOfFailingPullRequests()
      Specified by:
      getNumberOfFailingPullRequests in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getNumberOfFailingPullRequests in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getNumberOfSuccessfulPullRequests

      public int getNumberOfSuccessfulPullRequests()
      Specified by:
      getNumberOfSuccessfulPullRequests in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getNumberOfSuccessfulPullRequests in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getPipelines

      public io.jenkins.blueocean.rest.model.BluePipelineContainer getPipelines()
      Specified by:
      getPipelines in interface io.jenkins.blueocean.rest.model.BlueContainerItem
      Specified by:
      getPipelines in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getNumberOfFolders

      public Integer getNumberOfFolders()
      Specified by:
      getNumberOfFolders in interface io.jenkins.blueocean.rest.model.BlueContainerItem
      Specified by:
      getNumberOfFolders in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getNumberOfPipelines

      public Integer getNumberOfPipelines()
      Specified by:
      getNumberOfPipelines in interface io.jenkins.blueocean.rest.model.BlueContainerItem
      Specified by:
      getNumberOfPipelines in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getWeatherScore

      public Integer getWeatherScore()
      Specified by:
      getWeatherScore in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Overrides:
      getWeatherScore in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getLatestRun

      public io.jenkins.blueocean.rest.model.BlueRun getLatestRun()
      Specified by:
      getLatestRun in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Overrides:
      getLatestRun in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getEstimatedDurationInMillis

      public Long getEstimatedDurationInMillis()
      Specified by:
      getEstimatedDurationInMillis in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Overrides:
      getEstimatedDurationInMillis in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getBranches

      @Navigable public io.jenkins.blueocean.rest.model.BluePipelineContainer getBranches()
      Specified by:
      getBranches in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getBranches in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getBranchNames

      public Collection<String> getBranchNames()
      Specified by:
      getBranchNames in interface io.jenkins.blueocean.rest.model.BlueMultiBranchItem
      Specified by:
      getBranchNames in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getRuns

      public io.jenkins.blueocean.rest.model.BlueRunContainer getRuns()
      Specified by:
      getRuns in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Overrides:
      getRuns in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getActions

      public Collection<io.jenkins.blueocean.rest.model.BlueActionProxy> getActions()
      Specified by:
      getActions in interface io.jenkins.blueocean.rest.model.BluePipelineItem
      Specified by:
      getActions in class io.jenkins.blueocean.rest.model.BluePipeline
    • getQueue

      public io.jenkins.blueocean.rest.model.BlueQueueContainer getQueue()
      Specified by:
      getQueue in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Overrides:
      getQueue in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()
    • getParameters

      public List<Object> getParameters()
      Specified by:
      getParameters in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Specified by:
      getParameters in class io.jenkins.blueocean.rest.model.BluePipeline
    • getIcon

      public io.jenkins.blueocean.rest.model.BlueIcon getIcon()
      Specified by:
      getIcon in interface io.jenkins.blueocean.rest.model.BlueContainerItem
      Specified by:
      getIcon in class io.jenkins.blueocean.rest.model.BluePipelineFolder
    • getScmSource

      public io.jenkins.blueocean.rest.model.BlueScmSource getScmSource()
      Specified by:
      getScmSource in class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
    • getTrends

      public io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()
      Specified by:
      getTrends in interface io.jenkins.blueocean.rest.model.BlueRunnableItem
      Specified by:
      getTrends in class io.jenkins.blueocean.rest.model.BluePipeline
    • getDisabled

      public Boolean getDisabled()
      Specified by:
      getDisabled in class io.jenkins.blueocean.rest.model.BluePipeline
    • enable

      public void enable() throws IOException
      Specified by:
      enable in class io.jenkins.blueocean.rest.model.BluePipeline
      Throws:
      IOException
    • disable

      public void disable() throws IOException
      Specified by:
      disable in class io.jenkins.blueocean.rest.model.BluePipeline
      Throws:
      IOException