Package com.atlassian.bitbucket.pull
Class PullRequestCommitSearchRequest
java.lang.Object
com.atlassian.bitbucket.pull.PullRequestCommitSearchRequest
Request for searching for pull requests associated with a commit.
- Since:
- 5.11
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionLimits the search to pull requests that contain or created (in the case of a rebase/squash merge) the specified commit ID.When set, limits the search to pull requests in any of the specifiedstates
.When set, limits the search to pull requests whichtarget
the specified repository.
-
Method Details
-
getCommitId
Limits the search to pull requests that contain or created (in the case of a rebase/squash merge) the specified commit ID.- Returns:
- the commit ID
-
getStates
When set, limits the search to pull requests in any of the specifiedstates
.- Returns:
- a set containing zero or more states to filter by
-
getToRepositoryId
When set, limits the search to pull requests whichtarget
the specified repository.- Returns:
- the target repository ID
-