public class

AddLineCommentRequest

extends AddFileCommentRequest
java.lang.Object
   ↳ com.atlassian.bitbucket.comment.AddCommentRequest
     ↳ com.atlassian.bitbucket.comment.AddFileCommentRequest
       ↳ com.atlassian.bitbucket.comment.AddLineCommentRequest

Class Overview

Request to create or update a line comment.

Summary

Nested Classes
class AddLineCommentRequest.Builder  
Public Methods
@Nonnull DiffFileType getFileType()
int getLine()
@Nonnull DiffSegmentType getLineType()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.comment.AddFileCommentRequest
From class com.atlassian.bitbucket.comment.AddCommentRequest
From class java.lang.Object

Public Methods

@Nonnull public DiffFileType getFileType ()

Returns
  • the type of the file the comments is attached to

public int getLine ()

Returns
  • the line number in the diff

@Nonnull public DiffSegmentType getLineType ()

Returns
  • the type of the diff segment the commented line represents