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
hash
of the latest commit in the source branch of the pull request at the time the auto-merge request was created
-
getMessage
- Returns:
- the
message
to 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 ID
to be used for merging this pull request.
-
getToRefId
- Returns:
- the
target branch id
of the pull request at the time the auto-merge request was created
-
getUser
- Returns:
- the
user
who 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-subject
should be used for the merge commit message while merging this pull request.
-