public class MockHelpUrlBuilder extends Object implements HelpUrlBuilder
HelpUrlBuilder.Factory| Constructor and Description |
|---|
MockHelpUrlBuilder() |
MockHelpUrlBuilder(String prefix,
String suffix) |
| 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. |
boolean |
equals(Object o) |
static HelpUrlBuilder.Factory |
factory() |
String |
generateUrl() |
int |
hashCode() |
HelpUrlBuilder |
key(String key)
Set the
HelpUrl.getKey()} of the generated HelpUrl. |
HelpUrlBuilder |
local(boolean local)
Set the
HelpUrl.isLocal() of the generated HelpUrl. |
String |
prefix() |
String |
suffix() |
HelpUrlBuilder |
title(String title)
Set the
HelpUrl.getTitle() of the generated HelpUrl. |
String |
toString() |
HelpUrlBuilder |
url(String url)
Set the URL of the generated
HelpUrl. |
public HelpUrlBuilder key(String key)
HelpUrlBuilderHelpUrl.getKey()} of the generated HelpUrl.key in interface HelpUrlBuilderkey - the key to set.public HelpUrlBuilder alt(String alt)
HelpUrlBuilderHelpUrl.getAlt() of the generated HelpUrl.alt in interface HelpUrlBuilderalt - the alternate text for the URL.public HelpUrlBuilder description(String description)
HelpUrlBuilderHelpUrl.getDescription() of the generated HelpUrl.description in interface HelpUrlBuilderdescription - the description for the URL.public HelpUrlBuilder title(String title)
HelpUrlBuilderHelpUrl.getTitle() of the generated HelpUrl.title in interface HelpUrlBuildertitle - the title for the URL.public HelpUrlBuilder url(String url)
HelpUrlBuilderHelpUrl.url in interface HelpUrlBuilderurl - the URL for the generated HelpUrl.public HelpUrlBuilder local(boolean local)
HelpUrlBuilderHelpUrl.isLocal() of the generated HelpUrl.local in interface HelpUrlBuilderlocal - if the generated HelpUrl is local or not.public HelpUrlBuilder copy()
HelpUrlBuildercopy in interface HelpUrlBuilderpublic HelpUrl build()
HelpUrlBuilderHelpUrl associated with this builder.build in interface HelpUrlBuilderpublic String suffix()
public String prefix()
public String generateUrl()
public static HelpUrlBuilder.Factory factory()
Copyright © 2002-2018 Atlassian. All Rights Reserved.