com.atlassian.jira.help
Class MockHelpUrl

java.lang.Object
  extended by com.atlassian.jira.help.MockHelpUrl
All Implemented Interfaces:
HelpUrl

public class MockHelpUrl
extends Object
implements HelpUrl

Since:
v6.2.4

Constructor Summary
MockHelpUrl()
           
MockHelpUrl(HelpUrl url)
           
 
Method Summary
 MockHelpUrl copy()
           
 boolean equals(Object o)
           
 String getAlt()
          The alternate 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 setKey(String key)
           
 MockHelpUrl setLocal(boolean local)
           
 MockHelpUrl setTitle(String title)
           
 MockHelpUrl setUrl(String url)
           
static MockHelpUrl simpleUrl(String key)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockHelpUrl

public MockHelpUrl()

MockHelpUrl

public MockHelpUrl(HelpUrl url)
Method Detail

simpleUrl

public static MockHelpUrl simpleUrl(String key)

setUrl

public MockHelpUrl setUrl(String url)

setAlt

public MockHelpUrl setAlt(String alt)

setTitle

public MockHelpUrl setTitle(String title)

setKey

public MockHelpUrl setKey(String key)

setLocal

public MockHelpUrl setLocal(boolean local)

getUrl

public String getUrl()
Description copied from interface: HelpUrl
The URL for the help.

Specified by:
getUrl in interface HelpUrl
Returns:
the URL for the help.

getAlt

public String getAlt()
Description copied from interface: HelpUrl
The alternate text for the URL.

Specified by:
getAlt in interface HelpUrl
Returns:
The alternate text for the URL.

getTitle

public String getTitle()
Description copied from interface: HelpUrl
The title for the URL.

Specified by:
getTitle in interface HelpUrl
Returns:
The title for the URL.

getKey

public String getKey()
Description copied from interface: HelpUrl
The key the URL is registered under.

Specified by:
getKey in interface HelpUrl
Returns:
the key the URL is registered under.

isLocal

public boolean isLocal()
Description copied from interface: HelpUrl
Indicates if the URL is for JIRA internal help (i.e. help page served by JIRA).

Specified by:
isLocal in interface HelpUrl
Returns:
true when the URL is designed to be served by JIRA or false otherwise.

copy

public MockHelpUrl copy()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.