Interface PullRequestSuggestion
public interface PullRequestSuggestion
An object encapsulating data necessary to suggest creation of a pull request to the user.
Such suggestions are based on ref changes occurring and so contain the ref change that prompted
the suggestion plus the time the change event occurred.
- Since:
- 4.10
-
Method Summary
-
Method Details
-
getChangeDate
- Returns:
- The date/time that the ref change occurred
-
getFromRef
- Returns:
- the branch that should be the source branch for the pull request
-
getToRef
- Returns:
- the branch that should be the destination branch for the pull request
-
getRefChange
- Returns:
- the ref change that was the basis for suggesting a pull request
-
getRepository
- Returns:
- the repository the suggested pull request is for
-