|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
com.atlassian.jira.plugin.webfragment.model.SimpleLinkImpl
public class SimpleLinkImpl
Default implementation of SimpleLink. Simple bean containing no
real logic.
| Field Summary |
|---|
| Fields inherited from class com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl |
|---|
iconUrl, id, label, params, style, title, weight |
| Constructor Summary | |
|---|---|
SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
String url,
String accessKey)
Constructor taking all attributes of a link |
|
SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
String url,
String accessKey,
Integer weight)
Constructor taking all attributes of a link |
|
SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
String url,
String accessKey)
Constructor taking all attributes of a link |
|
| 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()
|
String |
toString()
|
| Methods inherited from class com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl |
|---|
getIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeight |
| 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 |
|---|
public SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
@Nonnull
String url,
String accessKey)
id - The unique id of the linklabel - The optional label to display for the linktitle - The optional title (tooltip) of the linkiconUrl - The optional url pointing an image for the linkstyle - The optional style to apply to the linkurl - The url that the link points toaccessKey - The optional easy access key for the link
public SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
@Nonnull
String url,
String accessKey)
id - The unique id of the linklabel - The optional label to display for the linktitle - The optional title (tooltip) of the linkiconUrl - The optional url pointing an image for the linkstyle - The optional style to apply to the linkparams - map of parametersurl - The url that the link points toaccessKey - The optional easy access key for the link
public SimpleLinkImpl(String id,
String label,
String title,
String iconUrl,
String style,
Map<String,String> params,
@Nonnull
String url,
String accessKey,
Integer weight)
id - The unique id of the linklabel - The optional label to display for the linktitle - The optional title (tooltip) of the linkiconUrl - The optional url pointing an image for the linkstyle - The optional style to apply to the linkparams - map of parametersurl - The url that the link points toaccessKey - The optional easy access key for the link| Method Detail |
|---|
@Nonnull public String getUrl()
SimpleLink
getUrl in interface SimpleLinkpublic String getAccessKey()
SimpleLink
getAccessKey in interface SimpleLinkpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||