java.lang.Object | ||
↳ | com.atlassian.bitbucket.util.BuilderSupport | |
↳ | com.atlassian.bitbucket.pull.PullRequestSearchRequest.Builder |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.util.BuilderSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Assembles a new
PullRequestSearchRequest from the provided values. | |||||||||||
When set, limits the pull requests to search for pull requests in the closed state (i.e.
| |||||||||||
Limits the pull requests to search for by the branch the changes are coming from.
| |||||||||||
Limits the pull requests to search for by the branches the changes are coming from.
| |||||||||||
Limits the pull requests to search for by the repository the changes are coming from.
| |||||||||||
The
order to return the search results in (defaults to
NEWEST first ). | |||||||||||
Limits the pull requests to search for by the participants they have.
| |||||||||||
Limits the pull requests to search for by the participants they have.
| |||||||||||
Sets the repository and branches fields based on direction, added here as the use case is so common.
| |||||||||||
Restricts the search to a specified
pull request state . | |||||||||||
Limits the pull requests to search for by the branches the changes are going to.
| |||||||||||
Limits the pull requests to search for by the branches the changes are going to.
| |||||||||||
Limits the pull requests to search for by the repository the changes are going to.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.bitbucket.util.BuilderSupport
| |||||||||||
From class
java.lang.Object
|
Assembles a new PullRequestSearchRequest
from the provided values.
Limits the pull requests to search for by the branch the changes are coming from.
value | the branch id |
---|
Limits the pull requests to search for by the branches the changes are coming from.
values | the branch ids |
---|
Limits the pull requests to search for by the repository the changes are coming from.
value | the repository id to look for |
---|
The order
to return the search results in (defaults to
NEWEST first
).
value | required order |
---|
Limits the pull requests to search for by the participants they have.
value | the participant |
---|
Limits the pull requests to search for by the participants they have.
values | the participants |
---|
Sets the repository and branches fields based on direction, added here as the use case is so common.
If OUTGOING
is the direction the from repository and branch are set
otherwise the to repository and branch are set.
direction | the pull request direction |
---|---|
repositoryId | the repository to restrict by |
branch | the branch to restrict by |
IllegalStateException | if the repositoryId has already been set to a different value |
---|
Restricts the search to a specified pull request state
.
value | the state to restrict to |
---|
Limits the pull requests to search for by the branches the changes are going to.
value | the branch id |
---|
Limits the pull requests to search for by the branches the changes are going to.
values | the branch ids |
---|
Limits the pull requests to search for by the repository the changes are going to.
value | the repository id to restrict the search by |
---|
value | whether to fetch the properties for
matching pull requests |
---|