public abstract static class PullRequestCreateRequest.AbstractBuilder<T extends PullRequestCreateRequest.AbstractBuilder<T>> extends BuilderSupport
NOT_BLANK| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract PullRequestCreateRequest |
build() |
T |
description(String value) |
T |
fromRefId(String value) |
T |
fromRepository(Repository value) |
T |
repository(Repository value) |
T |
reviewer(String value) |
T |
reviewers(Set<String> value) |
protected abstract T |
self()
Overridden in concrete builder implementations to return
this. |
T |
title(String value) |
T |
toBranchId(String value) |
T |
toRepository(Repository value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank@Nonnull public abstract PullRequestCreateRequest build()
@Nonnull public T fromRepository(@Nonnull Repository value)
@Nonnull public T repository(@Nonnull Repository value)
@Nonnull public T toRepository(@Nonnull Repository value)
Copyright © 2021 Atlassian. All rights reserved.