public class

AddDiffCommentRequest

extends AbstractAddCommentRequest
java.lang.Object
   ↳ com.atlassian.stash.comment.AbstractAddCommentRequest
     ↳ com.atlassian.stash.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.stash.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