public interface TaskAnchor
Task.getAnchor()
Modifier and Type | Method and Description |
---|---|
<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() |
long getId()
<T> T accept(@Nonnull TaskAnchorVisitor<T> visitor)
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.
T
- type of visitorvisitor
- the visitor to invokevisit
methodCopyright © 2019 Atlassian. All rights reserved.