public interface ProjectDescriptionRenderer
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.
|
@Nonnull String getViewHtml(@Nonnull Project project)
project
- the project for which the description should be returned; not null
@Nonnull String getEditHtml(@Nonnull Project project)
project
- the project which is going to be edited; not null
@Nonnull String getViewHtml(@Nonnull String description)
description
- the raw project description@Nonnull String getEditHtml(@Nonnull String description)
description
- the raw project description@Nonnull String getDescriptionI18nKey()
boolean isUseWikiMarkup()
Copyright © 2002-2015 Atlassian. All Rights Reserved.