public interface

Commentable

com.atlassian.bitbucket.comment.Commentable
Known Indirect Subclasses

Class Overview

Entity that users can comment on.

Summary

Public Methods
<T> T accept(CommentableVisitor<T> visitor)
Accepts the provided visitor and invokes the appropriate visit overload for this commentable type, returning its result.

Public Methods

public T accept (CommentableVisitor<T> visitor)

Accepts the provided visitor and invokes the appropriate visit overload for this commentable type, returning its result.

Note: Nullability for the return value is intentionally not documented one way or another. It is expected that the caller will know the nullability of the visitor implementation they are passing and code accordingly.

Parameters
visitor the visitor to invoke
Returns
  • the result of the invoked visit method