Package com.atlassian.bitbucket.pull
Class PullRequestParticipantRequest
java.lang.Object
com.atlassian.bitbucket.pull.PullRequestParticipantRequest
Request for searching for pull requests by participant. The purpose and behaviour of each field is described on its
accessor. Used to add searching of specific participants to a
PullRequestSearchRequest
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRole()
When set, limits the pull requests to search for by a specifiedpull request role
for theuser
.Limits the pull requests to search for by the participantstatus
Restricts the search to a specifieduser
with the given username.
-
Method Details
-
getRole
When set, limits the pull requests to search for by a specifiedpull request role
for theuser
.- Returns:
- the set
pull request role
-
getStatuses
Limits the pull requests to search for by the participantstatus
- Returns:
- the added
statuses
- Since:
- 4.2
-
getUsername
Restricts the search to a specifieduser
with the given username.- Returns:
- the username for the user to search for
-