Interface VcsPullRequest
- All Superinterfaces:
BambooIdProvider
,CreationDateProvider
- All Known Subinterfaces:
MutableVcsPullRequest
- All Known Implementing Classes:
VcsPullRequestImpl
Holds information about pull requests. Source of data is target repository which should be never null.
- Since:
- 6.0
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Method Summary
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
getCreationDate
-
Method Details
-
getKey
String getKey()- Returns:
- repository specific pull request key
-
getSourceRepositoryId
- Returns:
- source repository id or null if source repository is out of Bamboo control
-
getTargetRepositoryId
long getTargetRepositoryId()- Returns:
- target repository id
-
getSource
- Returns:
- source branch name or git ref
-
getTarget
- Returns:
- name of target branch name or git ref
-
isOpen
boolean isOpen()- Returns:
- if pull request is open or merged/declined
-
getVcsForkDto
- Returns:
- data access object connected with pull requests made from forked repositories
-
getLastModificationDate
Date getLastModificationDate() -
isFromFork
default boolean isFromFork()- Returns:
- if PR is within repositories known to Bamboo or source repository is out of Bamboo control
-