Package io.jenkins.blueocean.rest.model
Interface BlueMultiBranchItem
- All Known Implementing Classes:
BlueMultiBranchPipeline
public interface BlueMultiBranchItem
Common interface for container items that exist to group multiple branches of the same source project.
Should not be tied to a specific repository kind / scm vendor etc.
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
-
Method Details
-
getTotalNumberOfBranches
@Exported(name="totalNumberOfBranches") int getTotalNumberOfBranches()- Returns:
- total number of branches
-
getNumberOfFailingBranches
@Exported(name="numberOfFailingBranches") int getNumberOfFailingBranches()- Returns:
- total number of failing branches
-
getNumberOfSuccessfulBranches
@Exported(name="numberOfSuccessfulBranches") int getNumberOfSuccessfulBranches()- Returns:
- total number of successful branches
-
getTotalNumberOfPullRequests
@Exported(name="totalNumberOfPullRequests") int getTotalNumberOfPullRequests()- Returns:
- total number of pull requests
-
getNumberOfFailingPullRequests
@Exported(name="numberOfFailingPullRequests") int getNumberOfFailingPullRequests()- Returns:
- total number of pull requests
-
getNumberOfSuccessfulPullRequests
@Exported(name="numberOfSuccessfulPullRequests") int getNumberOfSuccessfulPullRequests()- Returns:
- total number of pull requests
-
getBranches
BluePipelineContainer getBranches()- Returns:
- Gives
BluePipelineContainer
-
getBranchNames
- Returns:
- Gives array of branch names
-