Package com.atlassian.bitbucket.pull
Class PullRequestCreateRequest.AbstractBuilder<T extends PullRequestCreateRequest.AbstractBuilder<T>>
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.pull.PullRequestCreateRequest.AbstractBuilder<T>
- Direct Known Subclasses:
PullRequestCreateRequest.Builder
- Enclosing class:
- PullRequestCreateRequest
public abstract static class PullRequestCreateRequest.AbstractBuilder<T extends PullRequestCreateRequest.AbstractBuilder<T>>
extends BuilderSupport
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract PullRequestCreateRequest
build()
description
(String value) draft
(boolean value) fromRepository
(Repository value) repository
(Repository value) protected abstract T
self()
Overridden in concrete builder implementations to returnthis
.toBranchId
(String value) toRepository
(Repository value) Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
build
-
description
-
draft
- Since:
- 8.18
-
fromRefId
-
fromRepository
-
repository
-
reviewer
-
reviewers
-
title
-
toBranchId
-
toRepository
-
self
Overridden in concrete builder implementations to returnthis
.- Returns:
this
-