public class IssueLinksBeanBuilder extends Object
IssueLinkJsonBean
instances.Constructor and Description |
---|
IssueLinksBeanBuilder(ApplicationProperties applicationProperties,
IssueLinkManager issueLinkManager,
JiraAuthenticationContext authContext,
JiraBaseUrls jiraBaseUrls,
Issue issue) |
Modifier and Type | Method and Description |
---|---|
List<IssueLinkJsonBean> |
buildIssueLinks()
Build a List of IssueLinkJsonBean objects representing the issue links for the current Issue object.
|
IssueLinkJsonBean |
buildLink(IssueLinkType issueLinkType,
Issue issue,
boolean isOutbound,
String id)
Builds an IssueLinkJsonBean from an IssueLink.
|
IssueRefJsonBean |
buildParentLink()
Build an IssueLinkJsonBean object representing the parent link for the current Issue object.
|
List<IssueRefJsonBean> |
buildSubtaskLinks()
Build a List of IssueLinkJsonBean objects representing the sub-task links for the current Issue object.
|
public IssueLinksBeanBuilder(ApplicationProperties applicationProperties, IssueLinkManager issueLinkManager, JiraAuthenticationContext authContext, JiraBaseUrls jiraBaseUrls, Issue issue)
public List<IssueLinkJsonBean> buildIssueLinks()
public IssueLinkJsonBean buildLink(IssueLinkType issueLinkType, Issue issue, boolean isOutbound, String id)
issueLinkType
- an IssueLinkType instanceissue
- an Issue that is linked to this.issueisOutbound
- a boolean indicating whether it's an outbound linkid
- issue link idpublic IssueRefJsonBean buildParentLink()
public List<IssueRefJsonBean> buildSubtaskLinks()
Copyright © 2002-2015 Atlassian. All Rights Reserved.