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)
ProjectDescriptionRenderergetViewHtml in interface ProjectDescriptionRendererproject - the project for which the description should be returned; not null@Nonnull public String getEditHtml(@Nonnull Project project)
ProjectDescriptionRenderergetEditHtml in interface ProjectDescriptionRendererproject - the project which is going to be edited; not null@Nonnull public String getViewHtml(@Nonnull String description)
ProjectDescriptionRenderergetViewHtml in interface ProjectDescriptionRendererdescription - the raw project description@Nonnull public String getEditHtml(@Nonnull String description)
ProjectDescriptionRenderergetEditHtml in interface ProjectDescriptionRendererdescription - the raw project description@Nonnull public String getDescriptionI18nKey()
ProjectDescriptionRenderergetDescriptionI18nKey in interface ProjectDescriptionRendererpublic boolean isUseWikiMarkup()
ProjectDescriptionRendererisUseWikiMarkup in interface ProjectDescriptionRendererCopyright © 2002-2021 Atlassian. All Rights Reserved.