java.lang.Object | ||
↳ | com.atlassian.stash.util.BuilderSupport | |
↳ | com.atlassian.stash.pull.PullRequestSearchRequest.Builder |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.stash.util.BuilderSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Assembles a new
PullRequestSearchRequest from the provided values. | |||||||||||
This method is deprecated.
in 3.10 for removal in 4.0. Use
fromRefId(String) instead
| |||||||||||
This method is deprecated.
in 3.10 for removal in 4.0. Use
fromRefIds(Iterable) instead
| |||||||||||
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 . | |||||||||||
This method is deprecated.
in 3.10 for removal in 4.0. Use
toRefId(String) instead
| |||||||||||
This method is deprecated.
in 3.10 for removal in 4.0. Use
toRefId(String) instead
| |||||||||||
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.
| |||||||||||
This method is deprecated.
in 3.4 for removal in 4.0. Use
properties instead.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.stash.util.BuilderSupport
| |||||||||||
From class
java.lang.Object
|
Assembles a new PullRequestSearchRequest
from the provided values.
This method is deprecated.
in 3.10 for removal in 4.0. Use fromRefId(String)
instead
Limits the pull requests to search for by the branch the changes are coming from.
branchId | the branch id |
---|
This method is deprecated.
in 3.10 for removal in 4.0. Use fromRefIds(Iterable)
instead
Limits the pull requests to search for by the branches the changes are coming from.
branchIds | the branch ids |
---|
Limits the pull requests to search for by the branch the changes are coming from.
refId | the branch id |
---|
Limits the pull requests to search for by the branches the changes are coming from.
refIds | the branch ids |
---|
Limits the pull requests to search for by the repository the changes are coming from.
repositoryId | the repository id to look for |
---|
The order
to return the search results in (defaults to NEWEST first
).
order | 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
.
state | the state to restrict to |
---|
This method is deprecated.
in 3.10 for removal in 4.0. Use toRefId(String)
instead
Limits the pull requests to search for by the branches the changes are going to.
branchId | the branch id |
---|
This method is deprecated.
in 3.10 for removal in 4.0. Use toRefId(String)
instead
Limits the pull requests to search for by the branches the changes are going to.
branchIds | the branch ids |
---|
Limits the pull requests to search for by the branches the changes are going to.
refId | the branch id |
---|
Limits the pull requests to search for by the branches the changes are going to.
refIds | the branch ids |
---|
Limits the pull requests to search for by the repository the changes are going to.
repositoryId | the repository id to restrict the search by |
---|
This method is deprecated.
in 3.4 for removal in 4.0. Use properties
instead.
Whether to fetch pull requests' attributes.
withAttributes | whether to fetch the attributes for each pull request matching the other criteria |
---|
withProperties | whether to fetch the properties for
each pull request matching the other criteria |
---|