public class SimpleHelpUrlBuilder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SimpleHelpUrlBuilder.Factory |
Modifier and Type | Method and Description |
---|---|
HelpUrlBuilder |
alt(String alt)
Set the
HelpUrl.getAlt() of the generated HelpUrl . |
HelpUrl |
build()
Generate the
HelpUrl associated with this builder. |
HelpUrlBuilder |
copy()
Creates an independent copy of the current state of the builder.
|
HelpUrlBuilder |
description(String description)
Set the
HelpUrl.getDescription() of the generated HelpUrl . |
HelpUrlBuilder |
key(String key)
Set the
HelpUrl.getKey() } of the generated HelpUrl . |
HelpUrlBuilder |
local(boolean local)
Set the
HelpUrl.isLocal() of the generated HelpUrl . |
HelpUrlBuilder |
title(String title)
Set the
HelpUrl.getTitle() of the generated HelpUrl . |
HelpUrlBuilder |
url(String url)
Set the URL of the generated
HelpUrl . |
public final HelpUrlBuilder key(String key)
HelpUrlBuilder
HelpUrl.getKey()
} of the generated HelpUrl
.key
in interface HelpUrlBuilder
key
- the key to set.public final HelpUrlBuilder description(String description)
HelpUrlBuilder
HelpUrl.getDescription()
of the generated HelpUrl
.description
in interface HelpUrlBuilder
description
- the description for the URL.public final HelpUrlBuilder alt(String alt)
HelpUrlBuilder
HelpUrl.getAlt()
of the generated HelpUrl
.alt
in interface HelpUrlBuilder
alt
- the alternate text for the URL.public final HelpUrlBuilder title(String title)
HelpUrlBuilder
HelpUrl.getTitle()
of the generated HelpUrl
.title
in interface HelpUrlBuilder
title
- the title for the URL.public final HelpUrlBuilder url(String url)
HelpUrlBuilder
HelpUrl
.url
in interface HelpUrlBuilder
url
- the URL for the generated HelpUrl
.public final HelpUrlBuilder local(boolean local)
HelpUrlBuilder
HelpUrl.isLocal()
of the generated HelpUrl
.local
in interface HelpUrlBuilder
local
- if the generated HelpUrl
is local or not.public final HelpUrlBuilder copy()
HelpUrlBuilder
copy
in interface HelpUrlBuilder
public final HelpUrl build()
HelpUrlBuilder
HelpUrl
associated with this builder.build
in interface HelpUrlBuilder
Copyright © 2002-2015 Atlassian. All Rights Reserved.