Package com.atlassian.bitbucket.comment
Class AddLineCommentRequest
java.lang.Object
com.atlassian.bitbucket.comment.AddCommentRequest
com.atlassian.bitbucket.comment.AddFileCommentRequest
com.atlassian.bitbucket.comment.AddLineCommentRequest
Request to create or update a
line comment
.- Since:
- 5.0
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
AddLineCommentRequest.AbstractLineCommentRequestBuilder<B extends AddLineCommentRequest.AbstractLineCommentRequestBuilder<B,
R>, R extends AddFileCommentRequest> static class
Nested classes/interfaces inherited from class com.atlassian.bitbucket.comment.AddFileCommentRequest
AddFileCommentRequest.AbstractFileBuilder<B extends AddFileCommentRequest.AbstractFileBuilder<B,
R>, R extends AddFileCommentRequest> Nested classes/interfaces inherited from class com.atlassian.bitbucket.comment.AddCommentRequest
AddCommentRequest.AbstractBuilder<B extends AddCommentRequest.AbstractBuilder<B,
R>, R extends AddCommentRequest> -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.comment.AddFileCommentRequest
getDiffType, getFromHash, getPath, getSrcPath, getToHash
Methods inherited from class com.atlassian.bitbucket.comment.AddCommentRequest
getCommentable, getSeverity, getText, isPending
-
Constructor Details
-
AddLineCommentRequest
-
-
Method Details
-
getFileType
- Returns:
- the type of the file the comments is attached to
-
getLine
public int getLine()- Returns:
- the line number in the diff
-
getLineType
- Returns:
- the type of the diff segment the commented line represents
-