Package com.atlassian.jira.help
Class MockHelpUrlBuilder
java.lang.Object
com.atlassian.jira.help.MockHelpUrlBuilder
- All Implemented Interfaces:
HelpUrlBuilder
- Since:
- v6.2.4
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.help.HelpUrlBuilder
HelpUrlBuilder.Factory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet theHelpUrl.getAlt()of the generatedHelpUrl.build()Generate theHelpUrlassociated with this builder.copy()Creates an independent copy of the current state of the builder.description(String description) Set theHelpUrl.getDescription()of the generatedHelpUrl.booleanstatic HelpUrlBuilder.Factoryfactory()inthashCode()Set theHelpUrl.getKey()} of the generatedHelpUrl.local(boolean local) Set theHelpUrl.isLocal()of the generatedHelpUrl.prefix()suffix()Set theHelpUrl.getTitle()of the generatedHelpUrl.toString()Set the URL of the generatedHelpUrl.
-
Constructor Details
-
MockHelpUrlBuilder
public MockHelpUrlBuilder() -
MockHelpUrlBuilder
-
-
Method Details
-
key
Description copied from interface:HelpUrlBuilderSet theHelpUrl.getKey()} of the generatedHelpUrl.- Specified by:
keyin interfaceHelpUrlBuilder- Parameters:
key- the key to set.- Returns:
- this object so that the builder may be chained.
-
alt
Description copied from interface:HelpUrlBuilderSet theHelpUrl.getAlt()of the generatedHelpUrl.- Specified by:
altin interfaceHelpUrlBuilder- Parameters:
alt- the alternate text for the URL.- Returns:
- this object so that the builder may be chained.
-
description
Description copied from interface:HelpUrlBuilderSet theHelpUrl.getDescription()of the generatedHelpUrl.- Specified by:
descriptionin interfaceHelpUrlBuilder- Parameters:
description- the description for the URL.- Returns:
- this object so that the builder may be chained.
-
title
Description copied from interface:HelpUrlBuilderSet theHelpUrl.getTitle()of the generatedHelpUrl.- Specified by:
titlein interfaceHelpUrlBuilder- Parameters:
title- the title for the URL.- Returns:
- this object so that the builder may be chained.
-
url
Description copied from interface:HelpUrlBuilderSet the URL of the generatedHelpUrl.- Specified by:
urlin interfaceHelpUrlBuilder- Parameters:
url- the URL for the generatedHelpUrl.- Returns:
- this object so that the builder may be chained.
-
local
Description copied from interface:HelpUrlBuilderSet theHelpUrl.isLocal()of the generatedHelpUrl.- Specified by:
localin interfaceHelpUrlBuilder- Parameters:
local- if the generatedHelpUrlis local or not.- Returns:
- this object so that the builder may be chained.
-
copy
Description copied from interface:HelpUrlBuilderCreates an independent copy of the current state of the builder.- Specified by:
copyin interfaceHelpUrlBuilder- Returns:
- an independent copy of the current builder.
-
build
Description copied from interface:HelpUrlBuilderGenerate theHelpUrlassociated with this builder.- Specified by:
buildin interfaceHelpUrlBuilder
-
suffix
-
prefix
-
equals
-
hashCode
public int hashCode() -
toString
-
generateUrl
-
factory
-