Interface RtLinkBuilder
public interface RtLinkBuilder
The builder for creating link objects
RtLink.- Since:
- 3.17.0
-
Method Summary
Modifier and TypeMethodDescriptionSets value forRtLink.getMessage()position(RtPosition position) Sets value forRtLink.getPosition()Sets value forRtLink.getRole()Sets Work Item reference forRtLink.getObjectReference().
-
Method Details
-
position
Sets value forRtLink.getPosition() -
workItem
@NotNull RtLink workItem(@NotNull String projectId, @NotNull String workItemId, @Nullable String revision) Sets Work Item reference forRtLink.getObjectReference(). This method should be invoked as a last step.- Parameters:
projectId- the project that contains the Work Item.workItemId- the id of the referenced Work Item.revision- the specific revision of a referenced Work Item or the latest revision if null is specified.- Returns:
- the created link object.
-
role
Sets value forRtLink.getRole() -
message
Sets value forRtLink.getMessage()
-