com.atlassian.jira.plugin.webfragment.model
Class MockSimpleLink

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.model.MockSimpleLinkSection
      extended by com.atlassian.jira.plugin.webfragment.model.MockSimpleLink
All Implemented Interfaces:
SimpleLink, SimpleLinkSection

public class MockSimpleLink
extends MockSimpleLinkSection
implements SimpleLink

Since:
v6.2

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.webfragment.model.MockSimpleLinkSection
iconUrl, id, label, params, styleClass, title, weight
 
Constructor Summary
MockSimpleLink(String id)
           
 
Method Summary
 boolean equals(Object o)
           
 String getAccessKey()
          The access key used to quickly select link
 String getUrl()
          The URL that the link points to.
 int hashCode()
           
 void setAccessKey(String accessKey)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.model.MockSimpleLinkSection
getIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeight, setIconUrl, setId, setLabel, setParams, setStyleClass, setTitle, setWeight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.plugin.webfragment.model.SimpleLinkSection
getIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeight
 

Constructor Detail

MockSimpleLink

public MockSimpleLink(String id)
Method Detail

getUrl

public String getUrl()
Description copied from interface: SimpleLink
The URL that the link points to. This should never be null.

Specified by:
getUrl in interface SimpleLink
Returns:
The URL that the link points to

setUrl

public void setUrl(String url)

getAccessKey

public String getAccessKey()
Description copied from interface: SimpleLink
The access key used to quickly select link

Specified by:
getAccessKey in interface SimpleLink
Returns:
The access key used to quickly select link

setAccessKey

public void setAccessKey(String accessKey)

equals

public boolean equals(Object o)
Overrides:
equals in class MockSimpleLinkSection

hashCode

public int hashCode()
Overrides:
hashCode in class MockSimpleLinkSection

toString

public String toString()
Overrides:
toString in class MockSimpleLinkSection


Copyright © 2002-2014 Atlassian. All Rights Reserved.