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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()protected PullRequestCreateRequest.Builderself()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, toRepositoryMethods 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:
buildin classPullRequestCreateRequest.AbstractBuilder<PullRequestCreateRequest.Builder>
-
self
Description copied from class:PullRequestCreateRequest.AbstractBuilderOverridden in concrete builder implementations to returnthis.- Specified by:
selfin classPullRequestCreateRequest.AbstractBuilder<PullRequestCreateRequest.Builder>- Returns:
this
-