Package com.atlassian.jira.help
Class SimpleHelpUrlBuilder
java.lang.Object
com.atlassian.jira.help.SimpleHelpUrlBuilder
- All Implemented Interfaces:
HelpUrlBuilder
- Since:
- v6.2.4
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal HelpUrlBuilder
Set theHelpUrl.getAlt()
of the generatedHelpUrl
.final HelpUrl
build()
Generate theHelpUrl
associated with this builder.final HelpUrlBuilder
copy()
Creates an independent copy of the current state of the builder.final HelpUrlBuilder
description
(String description) Set theHelpUrl.getDescription()
of the generatedHelpUrl
.final HelpUrlBuilder
Set theHelpUrl.getKey()
} of the generatedHelpUrl
.final HelpUrlBuilder
local
(boolean local) Set theHelpUrl.isLocal()
of the generatedHelpUrl
.final HelpUrlBuilder
Set theHelpUrl.getTitle()
of the generatedHelpUrl
.final HelpUrlBuilder
Set the URL of the generatedHelpUrl
.
-
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.
-
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.
-
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.
-
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
-