public class

MockHelpUrl

extends Object
implements HelpUrl
java.lang.Object
   ↳ com.atlassian.jira.help.MockHelpUrl

Summary

Public Constructors
MockHelpUrl()
MockHelpUrl(HelpUrl url)
Public Methods
MockHelpUrl copy()
boolean equals(Object o)
String getAlt()
The alternate text for the URL.
String getDescription()
The description text for the URL.
String getKey()
The key the URL is registered under.
String getTitle()
The title for the URL.
String getUrl()
The URL for the help.
int hashCode()
boolean isLocal()
Indicates if the URL is for JIRA internal help (i.e.
MockHelpUrl setAlt(String alt)
MockHelpUrl setDescription(String description)
MockHelpUrl setKey(String key)
MockHelpUrl setLocal(boolean local)
MockHelpUrl setTitle(String title)
MockHelpUrl setUrl(String url)
static MockHelpUrl simpleUrl(String key)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.help.HelpUrl

Public Constructors

public MockHelpUrl ()

public MockHelpUrl (HelpUrl url)

Public Methods

public MockHelpUrl copy ()

public boolean equals (Object o)

public String getAlt ()

The alternate text for the URL.

Returns
  • The alternate text for the URL.

public String getDescription ()

The description text for the URL.

Returns
  • The description text for the URL.

public String getKey ()

The key the URL is registered under.

Returns
  • the key the URL is registered under.

public String getTitle ()

The title for the URL.

Returns
  • The title for the URL.

public String getUrl ()

The URL for the help.

Returns
  • the URL for the help.

public int hashCode ()

public boolean isLocal ()

Indicates if the URL is for JIRA internal help (i.e. help page served by JIRA).

Returns
  • true when the URL is designed to be served by JIRA or false otherwise.

public MockHelpUrl setAlt (String alt)

public MockHelpUrl setDescription (String description)

public MockHelpUrl setKey (String key)

public MockHelpUrl setLocal (boolean local)

public MockHelpUrl setTitle (String title)

public MockHelpUrl setUrl (String url)

public static MockHelpUrl simpleUrl (String key)

public String toString ()