Interface AutoMergeRequest
public interface AutoMergeRequest
Represents a request for a pull request to be automatically merged by the system when it becomes
eligible to merge.- Since:
- 8.15
-
Method Summary
-
Method Details
-
getCreatedDate
- Returns:
- when the auto-merge request was created
-
getFromHash
- Returns:
- the
hashof the latest commit in the source branch of the pull request at the time the auto-merge request was created
-
getMessage
- Returns:
- the
messageto be used for merging this pull request
-
getPullRequest
- Returns:
- the pull request to be auto-merged
-
getRepositoryId
int getRepositoryId()- Returns:
- the ID of the repository to which the pull request needs to be auto-merged
-
getStrategyId
- Returns:
- the
strategy IDto be used for merging this pull request.
-
getToRefId
- Returns:
- the
target branch idof the pull request at the time the auto-merge request was created
-
getUser
- Returns:
- the
userwho requested to auto-merge the pull request. The system will merge the pull request on behalf of this user.
-
isAutoSubject
boolean isAutoSubject()- Returns:
- whether
auto-subjectshould be used for the merge commit message while merging this pull request.
-