Package com.atlassian.bitbucket.comment
Class AddFileCommentRequest.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.comment.AddCommentRequest.AbstractBuilder<B,R>
com.atlassian.bitbucket.comment.AddFileCommentRequest.AbstractFileBuilder<AddFileCommentRequest.Builder,AddFileCommentRequest>
com.atlassian.bitbucket.comment.AddFileCommentRequest.Builder
- Enclosing class:
- AddFileCommentRequest
public static class AddFileCommentRequest.Builder
extends AddFileCommentRequest.AbstractFileBuilder<AddFileCommentRequest.Builder,AddFileCommentRequest>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ConstructorDescriptionBuilder
(Commentable commentable, String text, CommentThreadDiffAnchorType diffType, String path) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.comment.AddFileCommentRequest.AbstractFileBuilder
fromHash, srcPath, toHash
Methods inherited from class com.atlassian.bitbucket.comment.AddCommentRequest.AbstractBuilder
pending, severity
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
public Builder(@Nonnull Commentable commentable, @Nonnull String text, @Nonnull CommentThreadDiffAnchorType diffType, @Nonnull String path)
-
-
Method Details
-
build
- Specified by:
build
in classAddCommentRequest.AbstractBuilder<AddFileCommentRequest.Builder,
AddFileCommentRequest>
-
self
- Specified by:
self
in classAddCommentRequest.AbstractBuilder<AddFileCommentRequest.Builder,
AddFileCommentRequest>
-