Class SuggestPullRequestsRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.dashboard.SuggestPullRequestsRequest.Builder
- Enclosing class:
- SuggestPullRequestsRequest
- 
Field SummaryFields inherited from class com.atlassian.bitbucket.util.BuilderSupportNOT_BLANK
- 
Constructor SummaryConstructorsConstructorDescriptionBuilder(ApplicationUser user, Date changesSince) Constructs a builder for creatingSuggestPullRequestsRequestobjects.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Assembles a newSuggestPullRequestsRequestfrom the provided values.limit(int value) Restricts the result set to return at most this many suggestions.protected SuggestPullRequestsRequest.Builderself()Methods inherited from class com.atlassian.bitbucket.util.BuilderSupportaddIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
- 
Constructor Details- 
BuilderConstructs a builder for creatingSuggestPullRequestsRequestobjects.- Parameters:
- user- suggestions will be based on push activity for the given user
- changesSince- all pull request suggestions are based on some form of activity/change that has occurred. This restricts pull request suggestions to be based on activity up to a certain time/date in the past
 
 
- 
- 
Method Details- 
buildAssembles a newSuggestPullRequestsRequestfrom the provided values.- Returns:
- a pull request suggestion request instance
 
- 
limitRestricts the result set to return at most this many suggestions. If this is never called, then the defaultSuggestPullRequestsRequest.DEFAULT_LIMITwill be used.- Parameters:
- value- the value
- Returns:
- this
 
- 
self
 
-