com.atlassian.jira.help
Class MockLocalHelpUrls

java.lang.Object
  extended by com.atlassian.jira.help.MockLocalHelpUrls
All Implemented Interfaces:
LocalHelpUrls

public class MockLocalHelpUrls
extends Object
implements LocalHelpUrls

Since:
v6.2.4

Constructor Summary
MockLocalHelpUrls()
           
 
Method Summary
 MockLocalHelpUrls add(HelpUrl url)
           
 MockHelpUrl add(String key)
           
 Iterable<HelpUrl> load()
          Load JIRA's default local help URLs.
 Iterable<HelpUrl> parse(Properties properties)
          Load the local help URLs stored in the passed properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockLocalHelpUrls

public MockLocalHelpUrls()
Method Detail

parse

@Nonnull
public Iterable<HelpUrl> parse(@Nonnull
                                       Properties properties)
Description copied from interface: LocalHelpUrls
Load the local help URLs stored in the passed properties.

Specified by:
parse in interface LocalHelpUrls
Parameters:
properties - the properties to parse.
Returns:
the local HelpUrl objects contained in the passed properties.

load

@Nonnull
public Iterable<HelpUrl> load()
Description copied from interface: LocalHelpUrls
Load JIRA's default local help URLs.

Specified by:
load in interface LocalHelpUrls
Returns:
the local HelpUrl objects used in JIRA by default.

add

public MockLocalHelpUrls add(HelpUrl url)

add

public MockHelpUrl add(String key)


Copyright © 2002-2014 Atlassian. All Rights Reserved.