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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
BRANCH_NAMES, NUMBER_OF_FAILING_BRANCHES, NUMBER_OF_FAILING_PULL_REQUESTS, NUMBER_OF_SUCCESSFUL_BRANCHES, NUMBER_OF_SUCCESSFUL_PULL_REQUESTS, SCM_SOURCE, TOTAL_NUMBER_OF_BRANCHES, TOTAL_NUMBER_OF_PULL_REQUESTS
Fields inherited from class io.jenkins.blueocean.rest.model.BluePipeline
ACTIONS, CONFIGURE_PERMISSION, CREATE_PERMISSION, DISABLED, DISPLAY_NAME, ESTIMATED_DURATION, FULL_DISPLAY_NAME, FULL_NAME, LATEST_RUN, NAME, ORGANIZATION, PERMISSIONS, READ_PERMISSION, START_PERMISSION, STOP_PERMISSION, WEATHER_SCORE
-
Constructor Summary
ConstructorDescriptionMultiBranchPipelineImpl
(io.jenkins.blueocean.rest.model.BlueOrganization organization, jenkins.branch.MultiBranchProject mbp) -
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
void
enable()
io.jenkins.blueocean.rest.model.BlueFavorite
favorite
(io.jenkins.blueocean.rest.model.BlueFavoriteAction favoriteAction) Collection<io.jenkins.blueocean.rest.model.BlueActionProxy>
io.jenkins.blueocean.rest.model.BluePipelineContainer
io.jenkins.blueocean.rest.model.BlueIcon
getIcon()
io.jenkins.blueocean.rest.model.BlueRun
io.jenkins.blueocean.rest.hal.Link
getLink()
getName()
int
int
int
int
io.jenkins.blueocean.rest.model.BlueOrganization
io.jenkins.blueocean.rest.model.BluePipelineContainer
io.jenkins.blueocean.rest.model.BlueQueueContainer
getQueue()
io.jenkins.blueocean.rest.model.BlueRunContainer
getRuns()
io.jenkins.blueocean.rest.model.BluePipelineScm
getScm()
io.jenkins.blueocean.rest.model.BlueScmSource
int
int
io.jenkins.blueocean.rest.model.BlueTrendContainer
Methods inherited from class io.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
getPipelineFolderNames
Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineFolder
getDynamic
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Constructor Details
-
MultiBranchPipelineImpl
public MultiBranchPipelineImpl(io.jenkins.blueocean.rest.model.BlueOrganization organization, jenkins.branch.MultiBranchProject mbp)
-
-
Method Details
-
getScriptPath
-
getOrganization
@NonNull public io.jenkins.blueocean.rest.model.BlueOrganization getOrganization()- Specified by:
getOrganization
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getOrganization
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getOrganizationName
- Specified by:
getOrganizationName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getOrganizationName
in classio.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 classio.jenkins.blueocean.rest.model.BluePipeline
-
getPermissions
- Specified by:
getPermissions
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getScm
@Navigable public io.jenkins.blueocean.rest.model.BluePipelineScm getScm()- Specified by:
getScm
in interfaceio.jenkins.blueocean.rest.model.BlueManagedSource
- Specified by:
getScm
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getName
- Specified by:
getName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getDisplayName
- Specified by:
getDisplayName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getDisplayName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getFullName
- Specified by:
getFullName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getFullName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getFullDisplayName
- Specified by:
getFullDisplayName
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getFullDisplayName
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getTotalNumberOfBranches
public int getTotalNumberOfBranches()- Specified by:
getTotalNumberOfBranches
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getTotalNumberOfBranches
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getNumberOfFailingBranches
public int getNumberOfFailingBranches()- Specified by:
getNumberOfFailingBranches
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getNumberOfFailingBranches
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getNumberOfSuccessfulBranches
public int getNumberOfSuccessfulBranches()- Specified by:
getNumberOfSuccessfulBranches
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getNumberOfSuccessfulBranches
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getTotalNumberOfPullRequests
public int getTotalNumberOfPullRequests()- Specified by:
getTotalNumberOfPullRequests
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getTotalNumberOfPullRequests
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getNumberOfFailingPullRequests
public int getNumberOfFailingPullRequests()- Specified by:
getNumberOfFailingPullRequests
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getNumberOfFailingPullRequests
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getNumberOfSuccessfulPullRequests
public int getNumberOfSuccessfulPullRequests()- Specified by:
getNumberOfSuccessfulPullRequests
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getNumberOfSuccessfulPullRequests
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getPipelines
public io.jenkins.blueocean.rest.model.BluePipelineContainer getPipelines()- Specified by:
getPipelines
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getPipelines
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getNumberOfFolders
- Specified by:
getNumberOfFolders
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getNumberOfFolders
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getNumberOfPipelines
- Specified by:
getNumberOfPipelines
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getNumberOfPipelines
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getWeatherScore
- Specified by:
getWeatherScore
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getWeatherScore
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getLatestRun
public io.jenkins.blueocean.rest.model.BlueRun getLatestRun()- Specified by:
getLatestRun
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getLatestRun
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getEstimatedDurationInMillis
- Specified by:
getEstimatedDurationInMillis
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getEstimatedDurationInMillis
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getBranches
@Navigable public io.jenkins.blueocean.rest.model.BluePipelineContainer getBranches()- Specified by:
getBranches
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getBranches
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getBranchNames
- Specified by:
getBranchNames
in interfaceio.jenkins.blueocean.rest.model.BlueMultiBranchItem
- Specified by:
getBranchNames
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getRuns
public io.jenkins.blueocean.rest.model.BlueRunContainer getRuns()- Specified by:
getRuns
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getRuns
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getActions
- Specified by:
getActions
in interfaceio.jenkins.blueocean.rest.model.BluePipelineItem
- Specified by:
getActions
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getQueue
public io.jenkins.blueocean.rest.model.BlueQueueContainer getQueue()- Specified by:
getQueue
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Overrides:
getQueue
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
getParameters
- Specified by:
getParameters
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Specified by:
getParameters
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getIcon
public io.jenkins.blueocean.rest.model.BlueIcon getIcon()- Specified by:
getIcon
in interfaceio.jenkins.blueocean.rest.model.BlueContainerItem
- Specified by:
getIcon
in classio.jenkins.blueocean.rest.model.BluePipelineFolder
-
getScmSource
public io.jenkins.blueocean.rest.model.BlueScmSource getScmSource()- Specified by:
getScmSource
in classio.jenkins.blueocean.rest.model.BlueMultiBranchPipeline
-
getTrends
public io.jenkins.blueocean.rest.model.BlueTrendContainer getTrends()- Specified by:
getTrends
in interfaceio.jenkins.blueocean.rest.model.BlueRunnableItem
- Specified by:
getTrends
in classio.jenkins.blueocean.rest.model.BluePipeline
-
getDisabled
- Specified by:
getDisabled
in classio.jenkins.blueocean.rest.model.BluePipeline
-
enable
- Specified by:
enable
in classio.jenkins.blueocean.rest.model.BluePipeline
- Throws:
IOException
-
disable
- Specified by:
disable
in classio.jenkins.blueocean.rest.model.BluePipeline
- Throws:
IOException
-