| 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. | |||||||||||
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). | |||||||||||
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.
| |||||||||||
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.
Limits the pull requests to search for by the branch the changes are coming from.
| branchId | the branch id |
|---|
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 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 |
|---|
Sets the repository and branches fields based on direction, added here as the use case is so common.
IfOUTGOING 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 |
|---|
Limits the pull requests to search for by the branches the changes are going to.
| branchId | the branch id |
|---|
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 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 |
|---|