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 theHelpUrl
associated with this builder.copy()
Creates an independent copy of the current state of the builder.description
(String description) Set theHelpUrl.getDescription()
of the generatedHelpUrl
.boolean
static HelpUrlBuilder.Factory
factory()
int
hashCode()
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:HelpUrlBuilder
Set theHelpUrl.getKey()
} of the generatedHelpUrl
.- Specified by:
key
in interfaceHelpUrlBuilder
- Parameters:
key
- the key to set.- Returns:
- this object so that the builder may be chained.
-
alt
Description copied from interface:HelpUrlBuilder
Set theHelpUrl.getAlt()
of the generatedHelpUrl
.- Specified by:
alt
in interfaceHelpUrlBuilder
- Parameters:
alt
- the alternate text for the URL.- Returns:
- this object so that the builder may be chained.
-
description
Description copied from interface:HelpUrlBuilder
Set theHelpUrl.getDescription()
of the generatedHelpUrl
.- Specified by:
description
in interfaceHelpUrlBuilder
- Parameters:
description
- the description for the URL.- Returns:
- this object so that the builder may be chained.
-
title
Description copied from interface:HelpUrlBuilder
Set theHelpUrl.getTitle()
of the generatedHelpUrl
.- Specified by:
title
in interfaceHelpUrlBuilder
- Parameters:
title
- the title for the URL.- Returns:
- this object so that the builder may be chained.
-
url
Description copied from interface:HelpUrlBuilder
Set the URL of the generatedHelpUrl
.- Specified by:
url
in interfaceHelpUrlBuilder
- Parameters:
url
- the URL for the generatedHelpUrl
.- Returns:
- this object so that the builder may be chained.
-
local
Description copied from interface:HelpUrlBuilder
Set theHelpUrl.isLocal()
of the generatedHelpUrl
.- Specified by:
local
in interfaceHelpUrlBuilder
- Parameters:
local
- if the generatedHelpUrl
is local or not.- Returns:
- this object so that the builder may be chained.
-
copy
Description copied from interface:HelpUrlBuilder
Creates an independent copy of the current state of the builder.- Specified by:
copy
in interfaceHelpUrlBuilder
- Returns:
- an independent copy of the current builder.
-
build
Description copied from interface:HelpUrlBuilder
Generate theHelpUrl
associated with this builder.- Specified by:
build
in interfaceHelpUrlBuilder
-
suffix
-
prefix
-
equals
-
hashCode
public int hashCode() -
toString
-
generateUrl
-
factory
-