Search for pull requests by main search terms in order to narrow down search results.
- Author:
- Konstantin Gromov
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The sort order values. -
Field Summary
Fields inherited from class org.kohsuke.github.GHSearchBuilder
terms
Fields inherited from class org.kohsuke.github.GHQueryBuilder
req
-
Method Summary
Modifier and TypeMethodDescriptionAssigned to gh pull request user.Author gh pull request search builder.Base gh pull request search builder.Closed gh pull request search builder.Closed gh pull request search builder.closedAfter
(LocalDate closed, boolean inclusive) ClosedAfter gh pull request search builder.closedBefore
(LocalDate closed, boolean inclusive) ClosedBefore gh pull request search builder.Commit gh pull request search builder.Created gh pull request search builder.Created gh pull request search builder.createdAfter
(LocalDate created, boolean inclusive) CreatedAfter gh pull request search builder.createdBefore
(LocalDate created, boolean inclusive) CreatedBefore gh pull request search builder.CreatedByMe gh pull request search builder.protected String
Gets api url.Head gh pull request search builder.Labels gh pull request search builder.isClosed()
Is closed gh pull request search builder.isDraft()
Is draft gh pull request search builder.isMerged()
Is merged gh pull request search builder.isOpen()
Is open gh pull request search builder.Label gh pull request search builder.list()
Performs the search.Mentions gh pull request search builder.Merged gh pull request search builder.Merged gh pull request search builder.mergedAfter
(LocalDate merged, boolean inclusive) MergedAfter gh pull request search builder.mergedBefore
(LocalDate merged, boolean inclusive) MergedBefore gh pull request search builder.order
(GHDirection direction) Order gh pull request search builder.Search terms.repo
(GHRepository repository) Repository gh pull request search builder.Sort gh pull request search builder.Title like search termUpdated gh pull request search builder.Updated gh pull request search builder.updatedAfter
(LocalDate updated, boolean inclusive) UpdatedAfter gh pull request search builder.updatedBefore
(LocalDate updated, boolean inclusive) UpdatedBefore gh pull request search builder.
-
Method Details
-
repo
Repository gh pull request search builder.- Parameters:
repository
- the repository- Returns:
- the gh pull request search builder
-
author
Author gh pull request search builder.- Parameters:
user
- the user as pr author- Returns:
- the gh pull request search builder
-
createdByMe
CreatedByMe gh pull request search builder.- Returns:
- the gh pull request search builder
-
assigned
Assigned to gh pull request user.- Parameters:
u
- the gh user- Returns:
- the gh pull request search builder
-
mentions
Mentions gh pull request search builder.- Parameters:
u
- the gh user- Returns:
- the gh pull request search builder
-
isOpen
Is open gh pull request search builder.- Returns:
- the gh pull request search builder
-
isClosed
Is closed gh pull request search builder.- Returns:
- the gh pull request search builder
-
isMerged
Is merged gh pull request search builder.- Returns:
- the gh pull request search builder
-
isDraft
Is draft gh pull request search builder.- Returns:
- the gh pull request search builder
-
head
Head gh pull request search builder.- Parameters:
branch
- the head branch- Returns:
- the gh pull request search builder
-
base
Base gh pull request search builder.- Parameters:
branch
- the base branch- Returns:
- the gh pull request search builder
-
commit
Commit gh pull request search builder.- Parameters:
sha
- the commit SHA- Returns:
- the gh pull request search builder
-
created
Created gh pull request search builder.- Parameters:
created
- the createdAt- Returns:
- the gh pull request search builder
-
createdBefore
CreatedBefore gh pull request search builder.- Parameters:
created
- the createdAtinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
createdAfter
CreatedAfter gh pull request search builder.- Parameters:
created
- the createdAtinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
created
Created gh pull request search builder.- Parameters:
from
- the createdAt starting fromto
- the createdAt ending to- Returns:
- the gh pull request search builder
-
merged
Merged gh pull request search builder.- Parameters:
merged
- the merged- Returns:
- the gh pull request search builder
-
mergedBefore
MergedBefore gh pull request search builder.- Parameters:
merged
- the mergedinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
mergedAfter
MergedAfter gh pull request search builder.- Parameters:
merged
- the mergedinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
merged
Merged gh pull request search builder.- Parameters:
from
- the merged starting fromto
- the merged ending to- Returns:
- the gh pull request search builder
-
closed
Closed gh pull request search builder.- Parameters:
closed
- the closed- Returns:
- the gh pull request search builder
-
closedBefore
ClosedBefore gh pull request search builder.- Parameters:
closed
- the closedinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
closedAfter
ClosedAfter gh pull request search builder.- Parameters:
closed
- the closedinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
closed
Closed gh pull request search builder.- Parameters:
from
- the closed starting fromto
- the closed ending to- Returns:
- the gh pull request search builder
-
updated
Updated gh pull request search builder.- Parameters:
updated
- the updated- Returns:
- the gh pull request search builder
-
updatedBefore
UpdatedBefore gh pull request search builder.- Parameters:
updated
- the updatedinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
updatedAfter
UpdatedAfter gh pull request search builder.- Parameters:
updated
- the updatedinclusive
- whether to include date- Returns:
- the gh pull request search builder
-
updated
Updated gh pull request search builder.- Parameters:
from
- the updated starting fromto
- the updated ending to- Returns:
- the gh pull request search builder
-
label
Label gh pull request search builder.- Parameters:
label
- the label- Returns:
- the gh pull request search builder
-
inLabels
Labels gh pull request search builder.- Parameters:
labels
- the labels- Returns:
- the gh pull request search builder
-
titleLike
Title like search term- Parameters:
title
- the title to be matched- Returns:
- the gh pull request search builder
-
order
Order gh pull request search builder.- Parameters:
direction
- the direction- Returns:
- the gh pull request search builder
-
sort
Sort gh pull request search builder.- Parameters:
sort
- the sort- Returns:
- the gh pull request search builder
-
q
Description copied from class:GHSearchBuilder
Search terms.- Overrides:
q
in classGHSearchBuilder<GHPullRequest>
- Parameters:
term
- the term- Returns:
- the gh query builder
-
list
Description copied from class:GHSearchBuilder
Performs the search.- Overrides:
list
in classGHSearchBuilder<GHPullRequest>
- Returns:
- the paged search iterable
-
getApiUrl
Description copied from class:GHSearchBuilder
Gets api url.- Specified by:
getApiUrl
in classGHSearchBuilder<GHPullRequest>
- Returns:
- the api url
-