public class

SimpleLinkImpl

extends SimpleLinkSectionImpl
implements SimpleLink
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
     ↳ com.atlassian.jira.plugin.webfragment.model.SimpleLinkImpl

Class Overview

Default implementation of SimpleLink. Simple bean containing no real logic.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
Public Constructors
SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, String url, String accessKey)
Constructor taking all attributes of a link
SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<StringString> params, String url, String accessKey)
Constructor taking all attributes of a link
SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<StringString> params, String url, String accessKey, Integer weight)
Constructor taking all attributes of a link
Public Methods
boolean equals(Object o)
String getAccessKey()
The access key used to quickly select link
@Nonnull String getUrl()
The URL that the link points to.
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
From class java.lang.Object
From interface com.atlassian.jira.plugin.webfragment.model.SimpleLink
From interface com.atlassian.jira.plugin.webfragment.model.SimpleLinkSection

Public Constructors

public SimpleLinkImpl (String id, String label, String title, String iconUrl, String style, String url, String accessKey)

Constructor taking all attributes of a link

Parameters
id The unique id of the link
label The optional label to display for the link
title The optional title (tooltip) of the link
iconUrl The optional url pointing an image for the link
style The optional style to apply to the link
url The url that the link points to
accessKey The optional easy access key for the link

public SimpleLinkImpl (String id, String label, String title, String iconUrl, String style, Map<StringString> params, String url, String accessKey)

Constructor taking all attributes of a link

Parameters
id The unique id of the link
label The optional label to display for the link
title The optional title (tooltip) of the link
iconUrl The optional url pointing an image for the link
style The optional style to apply to the link
params map of parameters
url The url that the link points to
accessKey The optional easy access key for the link

public SimpleLinkImpl (String id, String label, String title, String iconUrl, String style, Map<StringString> params, String url, String accessKey, Integer weight)

Constructor taking all attributes of a link

Parameters
id The unique id of the link
label The optional label to display for the link
title The optional title (tooltip) of the link
iconUrl The optional url pointing an image for the link
style The optional style to apply to the link
params map of parameters
url The url that the link points to
accessKey The optional easy access key for the link

Public Methods

public boolean equals (Object o)

public String getAccessKey ()

The access key used to quickly select link

Returns
  • The access key used to quickly select link

@Nonnull public String getUrl ()

The URL that the link points to. This should never be null.

Returns
  • The URL that the link points to

public int hashCode ()

public String toString ()