com.atlassian.bitbucket.task.TaskAnchor |
Known Indirect Subclasses
Comment |
A comment on a pull request or commit. |
|
Class Overview
The anchor of a task, such as a pull request's comment.
Summary
Public Methods |
<T>
T
|
accept(TaskAnchorVisitor<T> visitor)
Accepts the provided visitor and invokes the appropriate visit() overload
for this type of task anchor, returning its result.
|
long
|
getId()
|
Public Methods
Accepts the provided visitor
and invokes the appropriate visit()
overload
for this type of task anchor, 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