public static class CommentSearchRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder(Commentable commentable) |
Modifier and Type | Method and Description |
---|---|
CommentSearchRequest.Builder |
anchorState(CommentThreadDiffAnchorState value) |
CommentSearchRequest |
build() |
CommentSearchRequest.Builder |
diffType(CommentThreadDiffAnchorType value) |
CommentSearchRequest.Builder |
diffTypes(Iterable<CommentThreadDiffAnchorType> values) |
CommentSearchRequest.Builder |
fromHash(String value) |
CommentSearchRequest.Builder |
path(String value) |
CommentSearchRequest.Builder |
severities(Iterable<CommentSeverity> values) |
CommentSearchRequest.Builder |
severity(CommentSeverity value) |
CommentSearchRequest.Builder |
state(CommentState value) |
CommentSearchRequest.Builder |
states(Iterable<CommentState> values) |
CommentSearchRequest.Builder |
toHash(String value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull Commentable commentable)
@Nonnull public CommentSearchRequest.Builder anchorState(@Nonnull CommentThreadDiffAnchorState value)
value
- the new anchor statethis
@Nonnull public CommentSearchRequest build()
@Nonnull public CommentSearchRequest.Builder diffType(@Nullable CommentThreadDiffAnchorType value)
@Nonnull public CommentSearchRequest.Builder diffTypes(@Nullable Iterable<CommentThreadDiffAnchorType> values)
@Nonnull public CommentSearchRequest.Builder fromHash(@Nullable String value)
@Nonnull public CommentSearchRequest.Builder path(@Nullable String value)
@Nonnull public CommentSearchRequest.Builder severity(@Nullable CommentSeverity value)
@Nonnull public CommentSearchRequest.Builder severities(@Nullable Iterable<CommentSeverity> values)
@Nonnull public CommentSearchRequest.Builder state(@Nullable CommentState value)
@Nonnull public CommentSearchRequest.Builder states(@Nullable Iterable<CommentState> values)
@Nonnull public CommentSearchRequest.Builder toHash(@Nullable String value)
Copyright © 2019 Atlassian. All rights reserved.