@Deprecated public class

AbstractAddFileCommentRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.comment.AbstractAddFileCommentRequest
Known Direct Subclasses
Known Indirect Subclasses

This class is deprecated.
in 4.11 to be removed in 5.0. The Comment API is going through a maintenance cycle. For more details see the API Changelog

Class Overview

A base class for adding file level comments in a diff

Summary

Nested Classes
class AbstractAddFileCommentRequest.AbstractBuilder<B extends AbstractBuilder<B, R extends AbstractAddFileCommentRequest>, R>  
Protected Constructors
AbstractAddFileCommentRequest(AbstractBuilder<?, ?> builder)
Public Methods
@Nonnull String getPath()
@Nonnull Optional<String> getSrcPath()
@Nonnull String getText()
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected AbstractAddFileCommentRequest (AbstractBuilder<?, ?> builder)

Public Methods

@Nonnull public String getPath ()

Returns
  • the path of the file to comment on

@Nonnull public Optional<String> getSrcPath ()

Returns
  • the path the file to comment on used to have, for copies and moves

@Nonnull public String getText ()

Returns
  • the comment text