com.atlassian.jira.pageobjects.pages.viewissue.link
Class IssueLink

java.lang.Object
  extended by com.atlassian.jira.pageobjects.pages.viewissue.link.IssueLink

public class IssueLink
extends Object

Represents an issue link.


Nested Class Summary
static class IssueLink.Builder
           
 
Method Summary
static IssueLink.Builder builder()
           
 String getDeleteUrl()
          Returns the URL to delete the link.
 String getIconUrl()
          Returns the icon URL.
 String getPriorityIconUrl()
          Returns the URL of the priority icon.
 String getRelationship()
          Returns the relationship of the link to the issue.
 String getStatusIconUrl()
          Returns the URL of the status icon.
 String getSummary()
          Returns the summary of the link.
 String getTitle()
          Returns the title.
 String getUrl()
          Returns the URL of the link.
 boolean hasPriority()
          Returns trueif the link has a priority.
 boolean hasStatus()
          Returns true if the link has a status.
 boolean isResolved()
          Returns true if the link target has been resolved
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRelationship

public String getRelationship()
Returns the relationship of the link to the issue. E.g. "relates to", "blocked by"

Returns:
relationship of the link to the issue, never null

getTitle

public String getTitle()
Returns the title.

Returns:
title, never null

getUrl

public String getUrl()
Returns the URL of the link.

Returns:
URL of the link, null if there is no URL for the link

getSummary

public String getSummary()
Returns the summary of the link.

Returns:
summary of the link if one exists, otherwise empty string

getIconUrl

public String getIconUrl()
Returns the icon URL.

Returns:
icon URL

getDeleteUrl

public String getDeleteUrl()
Returns the URL to delete the link.

Returns:
URL to delete the link, never null

hasPriority

public boolean hasPriority()
Returns trueif the link has a priority.

Returns:
true if link has a priority

getPriorityIconUrl

public String getPriorityIconUrl()
Returns the URL of the priority icon.

Returns:
URL of the priority icon, or null if the link does not have a priority

hasStatus

public boolean hasStatus()
Returns true if the link has a status.

Returns:
true if the link has a status

getStatusIconUrl

public String getStatusIconUrl()
Returns the URL of the status icon.

Returns:
URL of the status icon, or null if the link does not have a status

isResolved

public boolean isResolved()
Returns true if the link target has been resolved

Returns:
true if the link target has been resolved

toString

public String toString()
Overrides:
toString in class Object

builder

public static IssueLink.Builder builder()


Copyright © 2002-2012 Atlassian. All Rights Reserved.