|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.pageobjects.pages.viewissue.link.IssueLinkSection
public class IssueLinkSection
Represents the issue links section.
Nested Class Summary | |
---|---|
static class |
IssueLinkSection.LinkSourceType
|
Constructor Summary | |
---|---|
IssueLinkSection(String issueKey)
|
Method Summary | ||
---|---|---|
DeleteLinkConfirmationDialog |
deleteLink(IssueLink issueLink)
|
|
IssueLinkSection |
expandLinks()
|
|
List<IssueLink> |
getLinks()
|
|
List<IssueLink> |
getLinks(IssueLinkSection.LinkSourceType sourceType,
String relationship)
Returns the links for the source and relationship. |
|
List<IssueLink> |
getLinksForSource(IssueLinkSection.LinkSourceType source)
Returns the links for the source. |
|
List<String> |
getRelationships()
Returns the relationships. |
|
void |
initSection()
|
|
|
loginAndApprove(String linkElementId,
Class<T> nextPage)
Click the "Login & Approve" link for a remote issue that requires an OAuth token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssueLinkSection(String issueKey)
Method Detail |
---|
public void initSection()
public List<String> getRelationships()
public List<IssueLink> getLinks()
public List<IssueLink> getLinksForSource(IssueLinkSection.LinkSourceType source)
source
- source of the links
public List<IssueLink> getLinks(IssueLinkSection.LinkSourceType sourceType, String relationship)
sourceType
- source type of the linksrelationship
- E.g. "blocked by"
public DeleteLinkConfirmationDialog deleteLink(IssueLink issueLink)
public IssueLinkSection expandLinks()
public <T extends com.atlassian.pageobjects.Page> T loginAndApprove(String linkElementId, Class<T> nextPage)
linkElementId
- the element id of the issue linknextPage
- the page that the login and approve link will take us to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |