Package com.atlassian.bitbucket.pull
Class PullRequestCreateRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.pull.PullRequestCreateRequest.AbstractBuilder<PullRequestCreateRequest.Builder>
com.atlassian.bitbucket.pull.PullRequestCreateRequest.Builder
- Enclosing class:
- PullRequestCreateRequest
public static class PullRequestCreateRequest.Builder
extends PullRequestCreateRequest.AbstractBuilder<PullRequestCreateRequest.Builder>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected PullRequestCreateRequest.Builder
self()
Overridden in concrete builder implementations to returnthis
.Methods inherited from class com.atlassian.bitbucket.pull.PullRequestCreateRequest.AbstractBuilder
description, draft, fromRefId, fromRepository, repository, reviewer, reviewers, title, toBranchId, toRepository
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Specified by:
build
in classPullRequestCreateRequest.AbstractBuilder<PullRequestCreateRequest.Builder>
-
self
Description copied from class:PullRequestCreateRequest.AbstractBuilder
Overridden in concrete builder implementations to returnthis
.- Specified by:
self
in classPullRequestCreateRequest.AbstractBuilder<PullRequestCreateRequest.Builder>
- Returns:
this
-