public class

AddDiffCommentRequest

extends AbstractAddCommentRequest
java.lang.Object
   ↳ com.atlassian.bitbucket.comment.AbstractAddCommentRequest
     ↳ com.atlassian.bitbucket.comment.AddDiffCommentRequest

Class Overview

Request to create or update a diff comment.

Summary

Nested Classes
class AddDiffCommentRequest.Builder  
Public Methods
@Nonnull DiffFileType getFileType()
int getLine()
@Nonnull DiffSegmentType getLineType()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.comment.AbstractAddCommentRequest
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