public static class AddLineCommentRequest.Builder extends AddFileCommentRequest.AbstractFileBuilder<AddLineCommentRequest.Builder,AddLineCommentRequest>
NOT_BLANK
Constructor and Description |
---|
Builder(Commentable commentable,
String text,
CommentThreadDiffAnchorType diffType,
String path) |
Modifier and Type | Method and Description |
---|---|
AddLineCommentRequest |
build() |
AddLineCommentRequest.Builder |
fileType(DiffFileType value) |
AddLineCommentRequest.Builder |
line(int value) |
AddLineCommentRequest.Builder |
lineType(DiffSegmentType value) |
protected AddLineCommentRequest.Builder |
self() |
fromHash, srcPath, toHash
severity
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull Commentable commentable, @Nonnull String text, @Nonnull CommentThreadDiffAnchorType diffType, @Nonnull String path)
@Nonnull public AddLineCommentRequest build()
build
in class AddCommentRequest.AbstractBuilder<AddLineCommentRequest.Builder,AddLineCommentRequest>
@Nonnull public AddLineCommentRequest.Builder fileType(@Nonnull DiffFileType value)
@Nonnull public AddLineCommentRequest.Builder line(int value)
@Nonnull public AddLineCommentRequest.Builder lineType(@Nonnull DiffSegmentType value)
@Nonnull protected AddLineCommentRequest.Builder self()
self
in class AddCommentRequest.AbstractBuilder<AddLineCommentRequest.Builder,AddLineCommentRequest>
Copyright © 2020 Atlassian. All rights reserved.