Package io.jenkins.blueocean.rest.model
Class BlueMultiBranchPipeline
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
- All Implemented Interfaces:
BlueContainerItem
,BlueManagedSource
,BlueMultiBranchItem
,BluePipelineItem
,BlueRunnableItem
,Reachable
public abstract class BlueMultiBranchPipeline
extends BluePipelineFolder
implements BlueMultiBranchItem
Multi-branch pipeline model
- Author:
- Vivek Pandey
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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
-
Method Summary
Modifier and TypeMethodDescriptionabstract BluePipelineContainer
abstract Collection<String>
abstract int
abstract int
abstract int
abstract int
MultiBranch pipeline is computed folder, no sub-folders in itgetRuns()
abstract BlueScmSource
Get metadata about the SCM for this pipeline.abstract int
abstract int
Methods inherited from class io.jenkins.blueocean.rest.model.BluePipelineFolder
getDynamic, getEstimatedDurationInMillis, getIcon, getLatestRun, getNumberOfFolders, getNumberOfPipelines, getPipelines, getQueue, getWeatherScore
Methods inherited from class io.jenkins.blueocean.rest.model.BluePipeline
disable, enable, favorite, getActions, getDisabled, getDisplayName, getFullDisplayName, getFullName, getName, getOrganization, getOrganizationName, getParameters, getPermissions, getScm, getTrends
-
Field Details
-
TOTAL_NUMBER_OF_BRANCHES
- See Also:
-
NUMBER_OF_FAILING_BRANCHES
- See Also:
-
NUMBER_OF_SUCCESSFUL_BRANCHES
- See Also:
-
TOTAL_NUMBER_OF_PULL_REQUESTS
- See Also:
-
NUMBER_OF_FAILING_PULL_REQUESTS
- See Also:
-
NUMBER_OF_SUCCESSFUL_PULL_REQUESTS
- See Also:
-
BRANCH_NAMES
- See Also:
-
SCM_SOURCE
- See Also:
-
-
Constructor Details
-
BlueMultiBranchPipeline
public BlueMultiBranchPipeline()
-
-
Method Details
-
getTotalNumberOfBranches
@Exported(name="totalNumberOfBranches") public abstract int getTotalNumberOfBranches()- Specified by:
getTotalNumberOfBranches
in interfaceBlueMultiBranchItem
- Returns:
- total number of branches
-
getNumberOfFailingBranches
@Exported(name="numberOfFailingBranches") public abstract int getNumberOfFailingBranches()- Specified by:
getNumberOfFailingBranches
in interfaceBlueMultiBranchItem
- Returns:
- total number of failing branches
-
getNumberOfSuccessfulBranches
@Exported(name="numberOfSuccessfulBranches") public abstract int getNumberOfSuccessfulBranches()- Specified by:
getNumberOfSuccessfulBranches
in interfaceBlueMultiBranchItem
- Returns:
- total number of successful branches
-
getTotalNumberOfPullRequests
@Exported(name="totalNumberOfPullRequests") public abstract int getTotalNumberOfPullRequests()- Specified by:
getTotalNumberOfPullRequests
in interfaceBlueMultiBranchItem
- Returns:
- total number of pull requests
-
getNumberOfFailingPullRequests
@Exported(name="numberOfFailingPullRequests") public abstract int getNumberOfFailingPullRequests()- Specified by:
getNumberOfFailingPullRequests
in interfaceBlueMultiBranchItem
- Returns:
- total number of pull requests
-
getNumberOfSuccessfulPullRequests
@Exported(name="numberOfSuccessfulPullRequests") public abstract int getNumberOfSuccessfulPullRequests()- Specified by:
getNumberOfSuccessfulPullRequests
in interfaceBlueMultiBranchItem
- Returns:
- total number of pull requests
-
getBranches
- Specified by:
getBranches
in interfaceBlueMultiBranchItem
- Returns:
- Gives
BluePipelineContainer
-
getBranchNames
- Specified by:
getBranchNames
in interfaceBlueMultiBranchItem
- Returns:
- Gives array of branch names
-
getPipelineFolderNames
MultiBranch pipeline is computed folder, no sub-folders in it- Specified by:
getPipelineFolderNames
in interfaceBlueContainerItem
- Specified by:
getPipelineFolderNames
in classBluePipelineFolder
-
getRuns
- Specified by:
getRuns
in interfaceBlueRunnableItem
- Overrides:
getRuns
in classBluePipelineFolder
- Returns:
- It gives no-op
BlueRunContainer
since Multi-branch is not a build item, does not build on its own
-
getScmSource
Get metadata about the SCM for this pipeline.
-