public class ProjectDescriptionRendererImpl extends Object implements ProjectDescriptionRenderer
Constructor and Description |
---|
ProjectDescriptionRendererImpl(RendererManager rendererManager,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
String |
getDescriptionI18nKey()
Returns the i18n key containing the description of the edit field.
|
String |
getEditHtml(Project project)
Returns the rendered html to edit the project description.
|
String |
getEditHtml(String description)
Returns the rendered html to edit the project description.
|
String |
getViewHtml(Project project)
Returns the rendered html to view the project description.
|
String |
getViewHtml(String description)
Returns the rendered html to view the project description.
|
boolean |
isUseWikiMarkup()
Indicates whether the renderer uses wiki markup or not.
|
public ProjectDescriptionRendererImpl(@Nonnull RendererManager rendererManager, @Nonnull ApplicationProperties applicationProperties)
@Nonnull public String getViewHtml(@Nonnull Project project)
ProjectDescriptionRenderer
getViewHtml
in interface ProjectDescriptionRenderer
project
- the project for which the description should be returned; not null
@Nonnull public String getEditHtml(@Nonnull Project project)
ProjectDescriptionRenderer
getEditHtml
in interface ProjectDescriptionRenderer
project
- the project which is going to be edited; not null
@Nonnull public String getViewHtml(@Nonnull String description)
ProjectDescriptionRenderer
getViewHtml
in interface ProjectDescriptionRenderer
description
- the raw project description@Nonnull public String getEditHtml(@Nonnull String description)
ProjectDescriptionRenderer
getEditHtml
in interface ProjectDescriptionRenderer
description
- the raw project description@Nonnull public String getDescriptionI18nKey()
ProjectDescriptionRenderer
getDescriptionI18nKey
in interface ProjectDescriptionRenderer
public boolean isUseWikiMarkup()
ProjectDescriptionRenderer
isUseWikiMarkup
in interface ProjectDescriptionRenderer
Copyright © 2002-2021 Atlassian. All Rights Reserved.