public class DefaultPlaceholderUrlFactory extends Object implements PlaceholderUrlFactory
Constructor and Description |
---|
DefaultPlaceholderUrlFactory(int placeholderVersion,
SettingsManager settingsManager,
ContextPathHolder contextPathHolder,
LocaleManager localeManager,
MacroDefinitionSerializer macroDefinitionSerializer) |
Modifier and Type | Method and Description |
---|---|
String |
getUrlForErrorPlaceholder(String errorI18nKey) |
String |
getUrlForMacro(MacroDefinition macroDefinition) |
String |
getUrlForMacroHeading(MacroDefinition macroDefinition) |
String |
getUrlForUnknownAttachment() |
String |
getUrlForUnknownMacro(String macroName) |
public DefaultPlaceholderUrlFactory(int placeholderVersion, SettingsManager settingsManager, ContextPathHolder contextPathHolder, LocaleManager localeManager, MacroDefinitionSerializer macroDefinitionSerializer)
public String getUrlForMacro(MacroDefinition macroDefinition)
getUrlForMacro
in interface PlaceholderUrlFactory
macroDefinition
- the macro definitionpublic String getUrlForMacroHeading(MacroDefinition macroDefinition)
getUrlForMacroHeading
in interface PlaceholderUrlFactory
macroDefinition
- the macro definitionpublic String getUrlForUnknownAttachment()
getUrlForUnknownAttachment
in interface PlaceholderUrlFactory
public String getUrlForUnknownMacro(String macroName)
getUrlForUnknownMacro
in interface PlaceholderUrlFactory
macroName
- macro namepublic String getUrlForErrorPlaceholder(String errorI18nKey)
getUrlForErrorPlaceholder
in interface PlaceholderUrlFactory
errorI18nKey
- the i18n key of the error textCopyright © 2003–2016 Atlassian. All rights reserved.