Package com.atlassian.sal.api.message
Class DefaultHelpPath
java.lang.Object
com.atlassian.sal.api.message.DefaultHelpPath
- All Implemented Interfaces:
HelpPath
Default immutable implementation of HelpPath.
- Since:
- 2.4
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultHelpPath(String key, String url, String title, String alt, boolean local) -
Method Summary
Modifier and TypeMethodDescriptiongetAlt()Alternate text for the help icon.getKey()The key to the help item.getTitle()Title attribute on the help link (the tooltip).getUrl()The full URL to the help content for this link.booleanisLocal()Flag to indicate this is a local URL, A local path is within the application context.
-
Constructor Details
-
DefaultHelpPath
-
-
Method Details
-
getKey
Description copied from interface:HelpPathThe key to the help item. This method should never return null. If there is no URL for a key or the key is null then theHelpPathResolvershould return null from the getHelpPath() method. -
getUrl
Description copied from interface:HelpPathThe full URL to the help content for this link. This should never return null. If there is no URL for a key then theHelpPathResolvershould return null from the getHelpPath() method. -
getTitle
Description copied from interface:HelpPathTitle attribute on the help link (the tooltip). -
getAlt
Description copied from interface:HelpPathAlternate text for the help icon. -
isLocal
public boolean isLocal()Description copied from interface:HelpPathFlag to indicate this is a local URL, A local path is within the application context. Clients may display local help links differently, especially for help that is generated dynamically.
-