Class SimpleLinkImpl
java.lang.Object
com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
com.atlassian.jira.plugin.webfragment.model.SimpleLinkImpl
- All Implemented Interfaces:
SimpleLink,SimpleLinkSection
Default implementation of
SimpleLink. Simple bean containing no
real logic.- Since:
- v4.0
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleLinkImpl(String id, String label, String title, String iconUrl, String style, String url, String accessKey) Constructor taking all attributes of a linkSimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params, String url, String accessKey) Constructor taking all attributes of a linkSimpleLinkImpl(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 -
Method Summary
Methods inherited from class com.atlassian.jira.plugin.webfragment.model.SimpleLinkSectionImpl
getIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeightMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.jira.plugin.webfragment.model.SimpleLinkSection
getIconUrl, getId, getLabel, getParams, getStyleClass, getTitle, getWeight
-
Constructor Details
-
SimpleLinkImpl
public SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, @Nonnull String url, String accessKey) Constructor taking all attributes of a link- Parameters:
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
-
SimpleLinkImpl
public SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params, @Nonnull String url, String accessKey) Constructor taking all attributes of a link- Parameters:
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
-
SimpleLinkImpl
public SimpleLinkImpl(String id, String label, String title, String iconUrl, String style, Map<String, String> params, @Nonnull String url, String accessKey, Integer weight) Constructor taking all attributes of a link- Parameters:
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 Details
-
getUrl
Description copied from interface:SimpleLinkThe URL that the link points to. This should never be null.- Specified by:
getUrlin interfaceSimpleLink- Returns:
- The URL that the link points to
-
getAccessKey
Description copied from interface:SimpleLinkThe access key used to quickly select link- Specified by:
getAccessKeyin interfaceSimpleLink- Returns:
- The access key used to quickly select link
-
equals
-
hashCode
public int hashCode() -
toString
-